CVE-2021-21243 Pre-Auth Unsafe Deserialization on KubernetesResource
Unauthenticated attackers can achieve remote code execution via unsafe deserialization in the Kubernetes REST endpoint of the OneDev platform.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-21243?
CVE-2021-21243 is a critical unsafe deserialization vulnerability in theonedev onedev, published on 15 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-21243?
It affects 1 product.
Products include Onedev Project Onedev.
How do I fix CVE-2021-21243?
No fix has been published for CVE-2021-21243 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-21243 being exploited?
There is no known exploitation of CVE-2021-21243 in the wild and no public exploit code.
Other vulnerabilities in theonedev onedev
Sources
Also known as GHSA-9mmq-fm8c-q4fv.