CVE-2021-21242
JSON

10.0critical

Pre-Auth Unsafe Deserialization on AttachmentUploadServet

Severity
10.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
74.2% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
theonedev onedev< 4.0.3CVE List
onedev_project onedevbefore 4.0.3NVD

All scores

GitHub_M10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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

NVD (es)

OneDev es una plataforma devops todo en uno.&#xa0;En OneDev versiones anteriores a 4.0.3, Se presenta una vulnerabilidad crítica que puede conllevar a una ejecución de código remota previa a la autenticación.&#xa0;El componente AttachmentUploadServlet deserializa los datos no confiables desde el encabezado "Attachment-Support".&#xa0;Este Servlet no aplica ninguna comprobación de autenticación o autorización.&#xa0;Este problema puede causar una ejecución de código remota previa a la autenticación.&#xa0;Este problema es corregido en versión 4.0.3 al eliminar AttachmentUploadServlet y no usar la deserialización

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21242 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-21242 changed 2026-06-17Public domain