Deserialization of Untrusted Data in OneDev - CVE-2021-21243

 

Deserialization of Untrusted Data in OneDev - CVE-2021-21243

Published: January 12, 2021 / Updated: May 5, 2026


Vulnerability identifier: #VU129810
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-21243
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
OneDev
Software vendor:
OneDev

Description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to unsafe deserialization in KubernetesResource REST endpoints when processing untrusted serialized data from the request body. A remote attacker can send a specially crafted serialized payload to execute arbitrary code.

The issue affects the /allocate-job-caches and /report-job-caches endpoints, and no authentication or authorization checks are enforced.


Remediation

Install security update from vendor's website.

External links