cve/2021/CVE-2021-21243.md

18 lines
998 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-21243](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21243)
![](https://img.shields.io/static/v1?label=Product&message=onedev&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-74%20Improper%20Neutralization%20of%20Special%20Elements%20in%20Output%20Used%20by%20a%20Downstream%20Component%20('Injection')&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/theonedev/onedev/security/advisories/GHSA-9mmq-fm8c-q4fv
#### Github
No PoCs found on GitHub currently.