Unauthenticated Remote Code Execution in OneDev 4.0.3 and Earlier

Unauthenticated Remote Code Execution in OneDev 4.0.3 and Earlier

CVE-2021-21243 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Kubernetes.