Pre-Auth Unsafe Deserialization on AttachmentUploadServet
No fixed version listed yet.Check the vendor advisory. References ↓
theonedev · onedev
The flaw is an unsafe deserialization of untrusted data taken from the Attachment-Support header in AttachmentUploadServlet, a component of the OneDev devops platform (product: onedev, vendor: theonedev). An unauthenticated remote attacker with network access can send a crafted request to that servlet to achieve remote code execution, with no user interaction and no prior authentication needed.
Official description · CVE.org
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
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Disclosed on 15 Jan 2021. No public exploit code or confirmed exploitation is recorded.
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
See the family tree6 related vulnerabilities in the same code over 4 years.
Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.
- This CVECVE-2021-21242Pre-Auth Unsafe Deserialization on AttachmentUploadServet15 Jan 2021
relatedMedium
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Same code patched: CoreModule.java (machine-matched)commit f864053commit 4f5dc6f
- same family
- same family
- same family
- same family
Affected versions and fixes
as published in the CVE recordtheonedev onedev
Affected: < 4.0.3