VYPR
High severityNVD Advisory· Published Dec 1, 2022· Updated Jun 18, 2025

Remote Code execution in SnakeYAML

CVE-2022-1471

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.yaml:snakeyamlMaven
< 2.02.0

Affected products

56

Patches

Vulnerability mechanics

References

19

News mentions

0

No linked articles in our index yet.