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

 

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

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


Vulnerability identifier: #VU129784
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-21249
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 user to execute arbitrary code.

The vulnerability exists due to unsafe deserialization in the BuildSpec YAML parser when processing a crafted YAML BuildSpec file. A remote user can supply a specially crafted YAML payload to execute arbitrary code.

The issue is post-authentication.


Remediation

Install security update from vendor's website.

External links