CVE-2021-21243
JSON

10.0critical

Pre-Auth Unsafe Deserialization on KubernetesResource

Severity
10.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
54.5% (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, a Kubernetes REST endpoint exposes two methods that deserialize untrusted data from the request body. These endpoints do not enforce any authentication or authorization checks. This issue may lead to pre-auth RCE. This issue was fixed in 4.0.3 by not using deserialization at KubernetesResource side.

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, a Kubernetes REST endpoint exposes two methods that deserialize untrusted data from the request body. These endpoints do not enforce any authentication or authorization checks. This issue may lead to pre-auth RCE. This issue was fixed in 4.0.3 by not using deserialization at KubernetesResource side.

NVD (es)

OneDev es una plataforma devops todo en uno.&#xa0;En OneDev versiones anteriores a 4.0.3, un endpoint REST de Kubernetes expone dos métodos que deserializan datos no confiables desde el cuerpo de la petición.&#xa0;Estos endpoints no aplican ninguna comprobación de autenticación o autorización.&#xa0;Este problema puede conllevar a una RCE previa a la autenticación.&#xa0;Este problema se corrigió en la versión 4.0.3 al no usar la deserialización en el lado de KubernetesResource

References

Sources

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