CVE-2021-21242
highpriority · attend · 65EPSS 0.742 · 99 %ileEUUSEPSS · scored 2026-10-27
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which can lead to pre-auth remote code execution. AttachmentUploadServlet deserializes untrusted data from the `Attachment-Support` header. This Servlet does not enforce any authentication or authorization checks. This issue may lead to pre-auth remote code execution. This issue was fixed in 4.0.3 by removing AttachmentUploadServlet and not using deserialization
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–10
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9becnnvd
- https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21242cnnvd
- https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9beenisa_euvd
- https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8enisa_euvd
- https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9bePatchThird Party Advisorynvd
- https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan