CVE-2021-21242
Summary
| CVE | CVE-2021-21242 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-01-15 21:15:00 UTC |
| Updated | 2021-01-21 14:54:00 UTC |
| 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 |
Risk And Classification
Problem Types: CWE-502
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Onedev Project | Onedev | All | All | All | All |
| Application | Onedev Project | Onedev | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Pre-Auth Unsafe Deserialization on AttachmentUploadServet · Advisory · theonedev/onedev · GitHub | CONFIRM | github.com | Third Party Advisory |
| Do not use deserialized AttachmentSupport from client side to avoid s… · theonedev/onedev@f864053 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.