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
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2021-01-15T20:05:27

Updated: 2024-08-03T18:09:14.970Z

Reserved: 2020-12-22T00:00:00

Link: CVE-2021-21242

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-01-15T21:15:13.227

Modified: 2021-01-21T14:54:39.063

Link: CVE-2021-21242

cve-icon Redhat

No data.