Paper/Archive/CVE-2021-21243

CVE-2021-21243

theonedev onedev — Pre-Auth Unsafe Deserialization on KubernetesResource

Description · from the CVE record

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

ProductAffectedFixed inSource
onedev< 4.0.3–CNA

Scores by source

GitHub_M (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refgithub.com/theonedev/onedev/security/advisories/GHSA-9mmq-fm8c-q4fvrefgithub.com/theonedev/onedev/commit/9637fc8fa461c5777282a0021c3deb1e7a48f137