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

 

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

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


Vulnerability identifier: #VU129790
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-21247
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 BasePage AJAX event listener (AbstractPostAjaxBehavior) when processing a POST request containing a serialized data parameter. A remote user can send a specially crafted POST request with a malicious serialized payload to execute arbitrary code.

The vulnerable listener is registered on all pages other than the login page, and exploitation requires a valid authenticated session.


Remediation

Install security update from vendor's website.

External links