CVE-2021-21242

CRITICAL

OneDev <4.0.3 - RCE

Title source: llm
STIX 2.1

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

References (2)

Core 2

Scores

CVSS v3 10.0
EPSS 0.4037
EPSS Percentile 97.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Details

CWE
CWE-502 CWE-74
Status published
Products (1)
onedev_project/onedev < 4.0.3
Published Jan 15, 2021
Tracked Since Feb 18, 2026