Vulnerability Description
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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Onedev Project | Onedev | < 4.0.3 |
Related Weaknesses (CWE)
References
- https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4dPatchThird Party Advisory
- https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8Third Party Advisory
- https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4dPatchThird Party Advisory
- https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8Third Party Advisory
FAQ
What is CVE-2021-21242?
CVE-2021-21242 is a vulnerability with a CVSS score of 10.0 (CRITICAL). 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 untrus...
How severe is CVE-2021-21242?
CVE-2021-21242 has been rated CRITICAL with a CVSS base score of 10.0/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-21242?
Check the references section above for vendor advisories and patch information. Affected products include: Onedev Project Onedev.