Deserialization of Untrusted Data in Snakeyaml - CVE-2022-1471

 

Deserialization of Untrusted Data in Snakeyaml - CVE-2022-1471

Published: December 15, 2022 / Updated: March 22, 2024


Vulnerability identifier: #VU70385
CSH Severity: High
CVSS v4.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:A/U:Amber
CVE-ID: CVE-2022-1471
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Snakeyaml Project
Affected software:
Snakeyaml

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data within the SnakeYaml's Constructor() class. A remote attacker can pass specially crafted yaml content to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2022-1471

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources