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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2022-12-0111:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 15:37 UTCBlock 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| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.0 | < 2.0 | 2.0 | NVD · OSV |
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 affectedAffected
- ≤ 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
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
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.12 security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.9 on RHEL 7 security update
Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.5 security update
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
Red Hat Security Advisory: Updated RHEL-7-based Middleware container images
23 more advisories
Fix
- Update Snakeyaml project snakeyaml to 2.0
- 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…
- 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…
- 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
- 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
- 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
- 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
- Proof-of-concept repositories
- 7 repositories, unverified1fabunicorn/SnakeYAML-CVE-2022-1471-POCfalconkei/snakeyaml_cve_pocseal-sec-demo-2/yaml-payloadjelee2555/CVE-2022-1471-attackeranupamojha-eng/sentinel-transitive-cve-demo PoC-in-GitHub
- Metasploit modules
- 1 moduleexploit/multi/http/torchserver_cve_2023_43654rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-08-07
- OpenCVESSVC decisionpoc—
- CNACVSS 3.18.3known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-20known since 2026-10-23
- NVDweakness (CWE)CWE-502read 2026-10-23
- FIRST EPSSEPSS score99.5 %read 2026-11-02
- PoC-in-GitHubproof of concept7read 2026-11-02
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2022-12-12
Identifiers
- CGA-2258-h6mm-6v7rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2355-f6r6-6cg2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-23qr-f39r-q522same flawChainguard · CC-BY-NC-ND-4.0
- CGA-23rp-rrc5-r6rxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24pc-p3wf-6c2wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-256p-27pw-mpprsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25hj-8vpq-4m35same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2686-3h2w-268vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2859-r8vf-p5mpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-28f5-gwhx-h352same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c4j-r8v2-2x6msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c84-qjqx-7x99same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fh5-mffw-cgp2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fpx-p8p5-pjj2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2g8g-rp65-434msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2gqx-89pm-g7ggsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2hfv-mj8g-5j49same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2hmf-f6m8-ph73same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mr9-2v53-67vvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2pwc-xr22-fg49same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2wg7-j6jw-f38hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-32xq-45g8-v5m5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-33f4-m29p-jhq4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-34qg-5fx3-v29jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-34vq-hh8x-cr7xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3623-47p6-2x7psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-37cc-xm78-848csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-39m6-4h44-gf9jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3c3m-963w-pxmqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3f99-v734-ppqrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3h4w-f5v8-9v2hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hm4-wgw3-j4qpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3mjq-pc7g-32r2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3ppj-2xg5-59hcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3prg-8rjj-mqvjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3rhp-73h9-2hm9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3v69-2pfg-phfwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3vmj-rgq6-vq85same flawChainguard · CC-BY-NC-ND-4.0
- CGA-45m9-mhvw-x6fwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4725-wc2c-v97wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-474q-wx35-xc62same flawChainguard · CC-BY-NC-ND-4.0
- CGA-47h5-jrm8-rcf6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-48v7-6vqx-7j27same flawChainguard · CC-BY-NC-ND-4.0
- CGA-49m8-pxc8-46f5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-49r2-gwq7-q27vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4c24-pm6h-gcp6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4cg7-89ff-hc6qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4mc4-c272-8v9fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4mc6-x2gq-q5wjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4p8q-66vq-5x79same flawChainguard · CC-BY-NC-ND-4.0
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?
Is CVE-2022-1471 actively exploited?
What is the CVSS score for CVE-2022-1471?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2017-18640same product
- CVE-2022-42004same product
- CVE-2022-42003same product
- CVE-2022-25857same product
- CVE-2022-38752same product
- CVE-2025-48924same productApache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs
- CVE-2022-38749same product
- CVE-2025-24970same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-mjmj-j48q-9wg2
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0