CVE-2021-21250
published 2021-01-15CVE-2021-21250: 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…
PriorityP339medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
EPSS
0.93%
56.2th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| onedev_project | onedev | < 4.0.3 | 4.0.3 |
| theonedev | onedev | < 4.0.3 | 4.0.3 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:P/I:N/A:N
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No advisories linked to this vulnerability.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/theonedev/onedev/commit/9196fd795e87dab069b4260a3590a0ea886e770fhttps://github.com/theonedev/onedev/security/advisories/GHSA-9pph-8gfc-6w2rhttps://github.com/theonedev/onedev/commit/9196fd795e87dab069b4260a3590a0ea886e770fhttps://github.com/theonedev/onedev/security/advisories/GHSA-9pph-8gfc-6w2r
2021-01-15
Published