Skip to main content
Public proof of conceptFix available

CVE-2022-1471

A public proof of concept exists; no exploitation attested.

  • Published2022-12-01
  • Fixed in2.0
  • WeaknessCWE-20 · CWE-502

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-12-0111:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 15:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-1471?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-1471?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Snakeyaml project snakeyaml
BranchAffectedFixed in
2.0< 2.02.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As Google, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • SnakeYAMLother versions: not affected
    Affected
    • ≤ 2.0no fix statedcustom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-06-18

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ansible-collection-redhat-satelliteRed Hat:satellite:6.13::el8all versions · fixed in 0:3.9.0-2.el8sat
  • ansible-collection-redhat-satellite_operationsRed Hat:satellite:6.13::el8all versions · fixed in 0:1.3.0-2.el8sat
  • ansible-lintRed Hat:satellite:6.13::el8all versions · fixed in 0:5.0.8-4.el8pc
  • ansible-runnerRed Hat:satellite:6.13::el8all versions · fixed in 0:2.2.1-3.el8satand 1 other package
  • ansiblerole-foreman_scap_clientRed Hat:satellite:6.13::el8all versions · fixed in 0:0.2.0-2.el8sat
  • ansiblerole-insights-clientRed Hat:satellite:6.13::el8all versions · fixed in 0:1.7.1-2.el8sat
  • apache-druidMinimOSall versions · fixed in 37.0.0-r1and 1 other package
  • apache-hiveCleanStartall versions · fixed in 3.1.3-r3

383 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-1471 Red Hat Product Security126 products fixed · 26 known affected

    SnakeYaml: Constructor Deserialization Remote Code Execution

    snakeyaml as a component of A-MQ Clients 2 · snakeyaml as a component of Red Hat build of Apache Camel for Spring Boot 3 · snakeyaml as a component of Red Hat Data Grid 8 · +23 more

  • RHSA-2025:1747 Red Hat Product Security27 products fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.12 security update

  • RHSA-2025:1746 Red Hat Product Security20 products fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.9 on RHEL 7 security update

  • RHSA-2024:1353 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.5 security update

  • RHSA-2024:0775 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: jenkins and jenkins-2-plugins security update

  • RHSA-2024:0325 Red Hat Product Security6 products fixed

    Red Hat Security Advisory: Updated RHEL-7-based Middleware container images

23 more advisories

Full record on NVD

Fix

  1. Update Snakeyaml project snakeyaml to 2.0
  2. Vendor fix Red Hat Product Security RHSA-2025:1747 · 27 productsBefore applying this update, ensure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://access…
  3. Vendor fix Red Hat Product Security RHSA-2025:1746 · 20 productsBefore applying this update, ensure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://access…
  4. Vendor fix Red Hat Product Security RHSA-2024:1353 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  5. Vendor fix Red Hat Product Security RHSA-2024:0775 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  6. Vendor fix Red Hat Product Security RHSA-2024:0325 · 6 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  7. Vendor fix Red Hat Product Security RHSA-2023:5165 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).

Detection

read 2026-11-02 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
1 moduleexploit/multi/http/torchserver_cve_2023_43654rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2022-12-01
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-mjmj-j48q-9wg2

Frequently asked questions

What is CVE-2022-1471?

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.

Is CVE-2022-1471 actively exploited?

A proof-of-concept exploit exists for CVE-2022-1471, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-1471?

CVE-2022-1471 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running snakeyaml? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record