← Database

CVE-2022-1471

HIGH CVSS: 8.3 Published: 2022-12-01 Modified: 2026-06-17

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.

Affected Platforms

Snakeyaml Project Snakeyaml

Weakness Type

CWE-20, CWE-502

References