Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-1471: SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Dese

59
This week
HIGH 8.3UPGRADE

CVE-2022-1471 is a high-severity flaw (CVSS 8.3) affecting snakeyaml. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity
  • EPSS top 1%: very likely to be exploited
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.3 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance99.5% (top 1%)
CISA exploited listNo
WeaknessCWE-20, CWE-502
Published2022-12-01
Last modified2026-06-17
Publisher (CNA): Google Inc. · Vendor: snakeyaml project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

snakeyaml project snakeyaml UPGRADE
Affected: < 2.0
Fixed in: 2.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy snakeyaml || rpm -q snakeyaml || snakeyaml --version
2. UPGRADE to 2.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade snakeyaml
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade snakeyaml
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-1471?

snakeyaml: upgrade to 2.0. Exact commands for each OS are on this page.

Is CVE-2022-1471 being exploited?

CVE-2022-1471 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-1471 affect?

CVE-2022-1471 affects snakeyaml. Severity is high (CVSS 8.3). 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 w

How urgent is CVE-2022-1471?

Priority 59/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.