CVE-2021-21250 Vulnerability Analysis & Exploit Details

CVE-2021-21250
Vulnerability Scoring

7.7
/10
Very High Risk

Highly exploitable, CVE-2021-21250 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Changed
    Successful exploitation can impact components beyond the vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2021-21250 Details

Status: Modified

Last updated: 🕠 21 Nov 2024, 05:47 UTC
Originally published on: 🕘 15 Jan 2021, 21:15 UTC

Time between publication and last update: 1405 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

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

CVE-2021-21250 Vulnerability Summary

CVE-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 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.

Assessing the Risk of CVE-2021-21250

Access Complexity Graph

The exploitability of CVE-2021-21250 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2021-21250

CVE-2021-21250 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2021-21250, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2021-21250, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2021-21250 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: None
    CVE-2021-21250 poses no threat to data integrity.
  • Availability: None
    CVE-2021-21250 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.072% (probability of exploit)

EPSS Percentile: 34.45% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 65.55% of others.

CVE-2021-21250 References

External References

CWE Common Weakness Enumeration

CWE-538

CAPEC Common Attack Pattern Enumeration and Classification

  • WSDL Scanning CAPEC-95 This attack targets the WSDL interface made available by a web service. The attacker may scan the WSDL interface to reveal sensitive information about invocation patterns, underlying technology implementations and associated vulnerabilities. This type of probing is carried out to perform more serious attacks (e.g. parameter tampering, malicious content injection, command injection, etc.). WSDL files provide detailed information about the services ports and bindings available to consumers. For instance, the attacker can submit special characters or malicious content to the Web service and can cause a denial of service condition or illegal access to database records. In addition, the attacker may try to guess other private methods by using the information provided in the WSDL files.

Vulnerable Configurations

  • cpe:2.3:a:onedev_project:onedev:2.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.0:beta_build118:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.0:beta_build118:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.0:beta_build119:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.0:beta_build119:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.0:beta_build120:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.0:beta_build120:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:2.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:2.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.13:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.13:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.0.14:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.7:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.7:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.8:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.8:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:3.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:3.2.9:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:4.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:4.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:4.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:4.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onedev_project:onedev:4.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:onedev_project:onedev:4.0.2:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2021-21250: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-26205 – Lua 5.4.7, when the debug library is used, has a out-of-bounds read and segmentation violation in mainpositionTV in ltable.c. NOTE: this is dispute...
  • CVE-2025-26204 – Lua 5.4.7, when the debug library is used, has a out-of-bounds read and segmentation violation in equalkey in ltable.c. NOTE: this is disputed beca...
  • CVE-2025-2129 – A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecur...
  • CVE-2025-2127 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla. It has been classified as problematic. Affected is an unknown function of th...
  • CVE-2025-2126 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla and classified as critical. This issue affects some unknown processing of the...