CVE-2021-21243

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*

History

21 Jan 2021, 14:42

Type Values Removed Values Added
CWE CWE-74 CWE-502
References (CONFIRM) https://github.com/theonedev/onedev/security/advisories/GHSA-9mmq-fm8c-q4fv - (CONFIRM) https://github.com/theonedev/onedev/security/advisories/GHSA-9mmq-fm8c-q4fv - Third Party Advisory
References (MISC) https://github.com/theonedev/onedev/commit/9637fc8fa461c5777282a0021c3deb1e7a48f137 - (MISC) https://github.com/theonedev/onedev/commit/9637fc8fa461c5777282a0021c3deb1e7a48f137 - Patch, Third Party Advisory
CPE cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8

15 Jan 2021, 21:15

Type Values Removed Values Added
Summary 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. 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.

15 Jan 2021, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-01-15 20:15

Updated : 2023-12-10 13:41


NVD link : CVE-2021-21243

Mitre link : CVE-2021-21243

CVE.ORG link : CVE-2021-21243


JSON object : View

Products Affected

onedev_project

  • onedev
CWE
CWE-502

Deserialization of Untrusted Data

CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')