Live threats

All CVEs / Onedev Project

CVE-2021-21242Onedev Project Onedev

Critical 9.8 No auth neededHigh EPSS

Priority
81
CVSS 3.1
9.8
EPSS
74.2%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Jan 15, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74, CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Onedev.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
onedev_projectonedev< 4.0.3

Official sources

References

Links published by the sources. Open them with care.