Deserialization in Onedev Project

CVE-2021-21242

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

Published · last modified .

CVSS v3 metric

CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N.

EPSS exploit prediction

EPSS: 0.742 (99.5th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-21242: held from 0.742 to 0.742.

EPSS over last 30 days · oldest: 0.742 · newest: 0.742 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-21242?
CVE-2021-21242 is a critical-severity vulnerability in Onedev Project, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 10.0/10. Published 2021-01-15.
How severe is CVE-2021-21242?
Critical severity. CVSS v3 base score is 10.0 out of 10.
Is CVE-2021-21242 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.