CVE-2021-21248
CRITICALEPSS 70th pctlDescription
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability involving the build endpoint parameters. InputSpec is used to define parameters of a Build spec. It does so by using dynamically generated Groovy classes. A user able to control job parameters can run arbitrary code on OneDev's server by injecting arbitrary Groovy code. The ultimate result is in the injection of a static constructor that will run arbitrary code. For a full example refer to the referenced GHSA. This issue was addressed in 4.0.3 by escaping special characters such as quote from user input.
How to fix
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
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Exploit Intelligence
Elevated risk: more likely to be exploited than 70% of all known CVEs.
References
Related Vulnerabilities
Other CWE-74 (Injection) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2013-2251 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2023-22527 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2019-2725 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2022-46169 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2022-35914 | Critical | 9.8 | 100% | KEV | - |
| CVE-2019-17558 | High | 7.5 | 99% | KEV | Fix |
Embed a live status badge for CVE-2021-21248
Markdown
[](https://tridentstack.com/cve/CVE-2021-21248)HTML
<a href="https://tridentstack.com/cve/CVE-2021-21248"><img src="https://tridentstack.com/cve/badge/CVE-2021-21248.svg" alt="CVE-2021-21248"></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 freeThis 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.