CVE & CISA-KEV Catalog

CVE-2021-21250

HIGH
7.7
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
onedevNVD
Affected:< 4.0.3Fixed in:4.0.3CVE-2021-21250derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Exploit Intelligence

0.93%probability of exploitation in 30 days
56thpercentile

Moderate risk: more likely to be exploited than 56% of all known CVEs.

References

Third-Party Advisory1
Embed a live status badge for CVE-2021-21250
CVE-2021-21250 severity badge

Markdown

[![CVE-2021-21250](https://tridentstack.com/cve/badge/CVE-2021-21250.svg)](https://tridentstack.com/cve/CVE-2021-21250)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-21250"><img src="https://tridentstack.com/cve/badge/CVE-2021-21250.svg" alt="CVE-2021-21250"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.