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
Configurations

Configuration 1 (hide)

cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*

History

21 Jan 2021, 14:54

Type Values Removed Values Added
CPE cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*
References (CONFIRM) https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8 - (CONFIRM) https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8 - Third Party Advisory
References (MISC) https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be - (MISC) https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be - Patch, Third Party Advisory
CWE CWE-74 CWE-502
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8

15 Jan 2021, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-01-15 21:15

Updated : 2023-12-10 13:41


NVD link : CVE-2021-21242

Mitre link : CVE-2021-21242

CVE.ORG link : CVE-2021-21242


JSON object : View

Products Affected

onedev_project

  • onedev
CWE
CWE-502

Deserialization of Untrusted Data

CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')