CVE-2021-21242 CRITICAL

CVE-2021-21242: Pre-Auth Unsafe Deserialization on AttachmentUploadServet

Vendor Theonedev
Product onedev
Weakness CWE-74
Published January 15, 2021
Last update August 3, 2024

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

January 15, 2021 CVE published
August 3, 2024 Record updated