Read the docs
TI-2021-04353 Aliases CVE-2021-21250

Post-Auth External Entity Expansion (XXE)

Priority LOW 35CWE-538Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which may lead to arbitrary file read. When BuildSpec is provided in XML format, the spec is processed by XmlBuildSpecMigrator.migrate(buildSpecString); which processes the XML document without preventing the expansion of external entities. These entities can be configured to read arbitrary files from the file system and dump their contents in the final XML document to be migrated. If the files are dumped in properties included in the YAML file, it will be possible for an attacker to read them. If not, it is possible for an attacker to exfiltrate the contents of these files Out Of Band. This issue was addressed in 4.0.3 by ignoring ENTITY instructions in xml file.

Why it matters now

EPSS 0.00943 61st percentileScored 2026-11-07
Fix Fixed onedev (theonedev): 4.0.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
theonedevonedevbefore 4.0.34.0.3Patch availableCNA
  • onedev Vendortheonedev Affected before 4.0.3 Fixed in 4.0.3 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*before 4.0.3Vulnerabletheonedev
  • cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:* Versions before 4.0.3 Vulnerable ·theonedev

Remediation

  • Fix · CNA onedev (theonedev) Fixed in 4.0.3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-21250

References

  • TI-2021-04345 Pre-Auth Unsafe Deserialization on AttachmentUploadServet CVSS 3.1CRITICAL 10.0
  • TI-2022-18585 CI/CD Docker Escape in OneDev CVSS 3.1CRITICAL 9.9
  • TI-2022-18584 Access Control Bypass in Onedev CVSS 3.1CRITICAL 9.8
  • TI-2021-04346 Pre-Auth Unsafe Deserialization on KubernetesResource CVSS 3.1CRITICAL 10.0
  • TI-2022-18587 Git Repository Disclosure in Onedev CVSS 3.1HIGH 7.5
  • TI-2021-04349 Pre-Auth Access token leak CVSS 3.1HIGH 8.6
See all 17 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences