CVE-2022-1471

High

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.

SeverityHigh
CVSS8.3
Exploit probability—
ProductSnakeyaml
PublishedDec 1, 2022
First seenDec 1, 2022

How to fix

Update
  • snakeyaml_project snakeyaml2.0 or later
  • org.yaml:snakeyaml2.0 or later

Affected products

ProductAffected versionsFixed in
snakeyaml_project snakeyamlv < 2.02.0
org.yaml:snakeyamlMavenv < 2.02.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-1471 · Snakeyaml · Dark Radar