CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HKnown as ShellTorch
Critical (9.8) in snakeyaml project snakeyaml. EPSS 99.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.yaml:snakeyaml 2.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Horg.yaml:snakeyaml (Maven): fixed in 2.0Explain CVE-2022-1471 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1471?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1471?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1471 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| SnakeYAML | through 2.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mjmj-j48q-9wg2 | Maven | org.yaml:snakeyaml | <2.0 | 2.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | snakeyaml | no fix listed | DEBIAN-CVE-2022-1471 |
| Ubuntu | 22.04:LTS, 24.04:LTS, Pro:14.04:LTS and 3 more | snakeyaml | no fix listed | UBUNTU-CVE-2022-1471 |
| Red Hat | enterprise_linux:8::appstream | prometheus-jmx-exporter, prometheus-jmx-exporter-openjdk8, prometheus-jmx-exporter-openjdk11 and 1 more | 0:0.12.0-9.el8_7 | RHSA-2022:9058 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis-native | 1:1.0.2-3.redhat_00004.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-apache-mime4j | 0:0.8.9-1.redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-artemis-native, eap7-artemis-native-wildfly, eap7-artemis-native-debuginfo | 1:1.0.2-4.redhat_00004.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-artemis-wildfly-integration | 0:1.0.7-1.redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-infinispan, eap7-infinispan-core, eap7-infinispan-commons and 7 more | 0:11.0.17-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more | 0:1.5.11-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-ejb-client | 0:4.0.50-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-el-api_3.0_spec | 0:2.0.1-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-metadata, eap7-jboss-metadata-ear, eap7-jboss-metadata-ejb and 3 more | 0:13.4.0-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core | 0:1.10.0-26.Final_redhat_00025.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jbossws-cxf | 0:5.4.8-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| 278 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | prometheus-jmx-exporter, prometheus-jmx-exporter-openjdk8, prometheus-jmx-exporter-openjdk11 and 1 more | 0.12.0-9.el8_7 | ALSA-2022:9058 |
| Rocky Linux | 8 | prometheus-jmx-exporter | 0:0.12.0-9.el8_7 | RLSA-2022:9058 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Important.
In the Red Hat Process Automation 7 (RHPAM) the untrusted, malicious YAML file for deserialization by the vulnerable Snakeyaml's SafeConstructor class must be provided intentionally by the RHPAM user which requires high privileges. The potential attack complexity is also high because it depends on conditions that are beyond the attacker's control. Due to that the impact for RHPAM is reduced to Low.
Red Hat Fuse 7 does not expose by default any endpoint that passes incoming data/request into vulnerable Snakeyaml's Constructor class nor pass untrusted data to this class. When this class is used, it’s still only used to parse internal configuration, hence the impact by this vulnerability to Red Hat Fuse 7 is reduced to Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Developer Tools and Services for OCP 4.11 | jenkins-2-plugins-0:4.11.1683009941-1.el8 | Fixed 2023-05-17 | RHSA-2023:3198 |
| OpenShift Developer Tools and Services for OCP 4.11 | jenkins-2-plugins-0:4.11.1698299029-1.el8 | Fixed 2023-10-30 | RHSA-2023:6171 |
| OpenShift Developer Tools and Services for OCP 4.11 | jenkins-2-plugins-0:4.11.1706516946-1.el8 | Fixed 2024-02-12 | RHSA-2024:0775 |
| Red Hat AMQ Clients | snakeyaml | Fixed 2023-12-07 | RHSA-2023:7697 |
| Red Hat AMQ Streams 2.5.0 | Fixed 2023-09-14 | RHSA-2023:5165 | |
| Red Hat build of Eclipse Vert.x 4.3.4 | snakeyaml | Fixed 2022-12-15 | RHSA-2022:9032 |
| Red Hat build of Quarkus | Fixed 2023-02-14 | RHSA-2023:0758 | |
| Red Hat build of Quarkus 2.7.7 | snakeyaml | Fixed 2023-03-08 | RHSA-2023:1006 |
| Red Hat Enterprise Linux 8 | prometheus-jmx-exporter-0:0.12.0-9.el8_7 | Fixed 2022-12-15 | RHSA-2022:9058 |
| Red Hat JBoss Enterprise Application Platform | org.yaml/snakeyaml:1.33.0.SP1-redhat-00001 | Fixed 2023-03-29 | RHSA-2023:1516 |
| A-MQ Clients 2 | snakeyaml | Affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch6-rhel8 | Not affected | |
| Red Hat AMQ Broker 7 | snakeyaml | Not affected | |
| Red Hat A-MQ Online | snakeyaml | Not affected | |
| Red Hat build of Apache Camel for Spring Boot 3 | snakeyaml | Affected | |
| Red Hat build of Apicurio Registry 2 | snakeyaml | Not affected | |
| Red Hat build of Debezium 1 | snakeyaml | Not affected | |
| Red Hat build of OpenJDK 11 | snakeyaml | Not affected | |
| Red Hat Data Grid 8 | snakeyaml | Will not fix | |
| Red Hat Decision Manager 7 | snakeyaml | Affected | |
| 49 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1471.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).