Vulnerability · Published Jan 15, 2021 · Assigned by GitHub_M

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

Critical 10.0

In plain English

A critical-severity injection in onedev from theonedev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 74.2% (higher than 99.5% of all known vulnerabilities).

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)74.2%top 0.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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

Affected products (as reported)

VendorProductVersions
theonedev onedev < 4.0.3

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

References