{"id":"CVE-2021-21243","published":"2021-01-15T20:05:21Z","modified":"2024-08-03T18:09:15Z","title":"Pre-Auth Unsafe Deserialization on KubernetesResource","vendor":"theonedev","product":"onedev","tier":"core","eol":null,"affectedVersions":[{"vendor":"theonedev","product":"onedev","versions":["< 4.0.3"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"An unauthenticated Kubernetes REST endpoint in OneDev's KubernetesResource component, before version 4.0.3, exposes two methods that deserialize untrusted data from the request body without any authentication or authorization checks. An attacker with only network access to the OneDev instance can send a crafted request to these endpoints, with no credentials or user interaction required, to achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:45:32Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.54494,"percentile":0.99039,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/theonedev/onedev/security/advisories/GHSA-9mmq-fm8c-q4fv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/theonedev/onedev/commit/9637fc8fa461c5777282a0021c3deb1e7a48f137","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-8626","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-8626","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-01-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-21243","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":26.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.81,"detail":"percentile 0.9904"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}