CVE-2021-21243
published critical CVSS 3.1 · 10.0Pre-Auth Unsafe Deserialization on KubernetesResource
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| theonedev | — | onedev< 4.0.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| theonedev | onedev | < 4.0.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
2Provider assertions
2GitHub_M · cna
Pre-Auth Unsafe Deserialization on KubernetesResource
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 749aa2496d120bfe92cf5af8ab15bf9a6e4ec4945b86026078f15e63cd470f0e
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record