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 package | Versions | Reported by |
|---|---|---|
| theonedev onedev | < 4.0.3 | CVE List |
| onedev_project onedev | before 4.0.3 | NVD |
All scores
| GitHub_M | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV: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. 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. El componente AttachmentUploadServlet deserializa los datos no confiables desde el encabezado "Attachment-Support". Este Servlet no aplica ninguna comprobación de autenticación o autorización. Este problema puede causar una ejecución de código remota previa a la autenticación. Este problema es corregido en versión 4.0.3 al eliminar AttachmentUploadServlet y no usar la deserialización
References
| https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8 | third-party-advisory | |
| https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21242 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-21242 changed 2026-06-17 | Public domain |