CVE-2021-21242

published 15 Jan 2021 · updated 3 Aug 2024

Pre-Auth Unsafe Deserialization on AttachmentUploadServet

10.0CriticalCVSS 10.0EPSS 74%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 74%. No fixed version is recorded.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
theonedev<4.0.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-21242 severity on Zeptric[![CVE-2021-21242](https://zeptric.io/badge/cve/CVE-2021-21242.svg)](https://zeptric.io/cve/CVE-2021-21242)