CVE-2021-21242
CRITICAL EPSS 99.4%
Published Jan 15, 20215y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Jan 15, 2021 5y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
99.4% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 2
CWE-502 Deserialization of Untrusted Data Validation
CWE-74
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| onedev_project | onedev | * | <4.0.3 |
References 2
- github.com https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be
- github.com https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8
Remediation
- github.com https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be