Patchfirst
CVE-2021-21243 Critical · 10.0 EPSS 54.5%

Pre-Auth Unsafe Deserialization on KubernetesResource

No fixed version listed yet.Check the vendor advisory. References ↓

theonedev · onedev

Summary

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.

Official description · CVE.org

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.

Breakdown
26.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 15 Jan 2021. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

theonedev onedev

Affected: < 4.0.3

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close