9.8

CVE-2022-1471: Remote Code execution in SnakeYAML

Modified
AliasesRHSA-2022:9058UBUNTU-CVE-2022-1471DEBIAN-CVE-2022-1471
Published 01-12-2022Last modified 18-06-2025

Vulnerability summary

CVE-2022-1471 is a critical (CVSS 9.8) Improper Input Validation vulnerability in snakeyaml_project snakeyaml. EPSS estimates a 99.50% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 3 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 03-10-2023)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
99.50%
0%100%
Critical · -0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3github, metasploit

Advisory lineage

Upstream 0 · Downstream 14 · Related 10

Timeline

  1. 01-12-2022
    PublishedVulnerability first disclosed.
  2. 18-06-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

99.50%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

Decrease -0.07 pp

From 99.57% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

3 found
  • githubUnverified

    Security Research

    Maturity: poc

  • githubUnverified

    Marshalsec

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    PyTorch Model Server Registration and Deserialization RCE

    exploit/multi/http/torchserver_cve_2023_43654

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard145 products
  • cassandra-4.0All versions (No fix recorded)
  • cassandra-4.1All versions (No fix recorded)
  • cassandra-4.1-compatAll versions (No fix recorded)
  • cassandra-4.1-iamguarded-compatAll versions (No fix recorded)
  • cassandra-5.0All versions (No fix recorded)
Wolfi13 products
  • cassandra-4.1All versions (No fix recorded)
  • cassandra-4.1-compatAll versions (No fix recorded)
  • cassandra-5.0All versions (No fix recorded)
  • cassandra-5.0-compatAll versions (No fix recorded)
  • cassandra-5.0-entrypoint-compatAll versions (No fix recorded)
Redhat4 products
  • prometheus-jmx-exporter< 0:0.12.0-9.el8_7
  • prometheus-jmx-exporter-openjdk11< 0:0.12.0-9.el8_7
  • prometheus-jmx-exporter-openjdk17< 0:0.12.0-9.el8_7
  • prometheus-jmx-exporter-openjdk8< 0:0.12.0-9.el8_7
Debian1 product
  • snakeyamlAll versions (No fix recorded)
Org.yaml1 product
  • snakeyaml< 2.0
Snakeyaml1 product
Snakeyaml_project1 product
Ubuntu1 product
  • snakeyamlAll versions (No fix recorded)

8 vendors · 167 products

References

30 links
Show all 30 references