CVE-2022-1471

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
01/12/2022
Last modified:
13/02/2025

Description

SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:snakeyaml_project:snakeyaml:*:*:*:*:*:*:*:* 2.0 (excluding)