CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 3.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.yaml:snakeyaml 1.31.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Horg.yaml:snakeyaml (Maven): fixed in 1.31Explain CVE-2022-25857 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25857?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25857?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-25857 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 NVD's CPE matches.
| Product | Affected |
|---|---|
| snakeyaml_project:snakeyaml | before 1.31 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-3mc7-4q67-w48m | Maven | org.yaml:snakeyaml | <1.31 | 1.31 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | snakeyaml | 1.23-1+deb10u1 | DLA-3132-1 |
| Debian | 12, 13, 14 | snakeyaml | 1.31-1 | DEBIAN-CVE-2022-25857 |
| Ubuntu | 18.04:LTS | snakeyaml | 1.23-1+deb10u1build0.18.04.1 | UBUNTU-CVE-2022-25857 USN-5944-1 |
| Ubuntu | 20.04:LTS | snakeyaml | 1.25+ds-2ubuntu0.1 | UBUNTU-CVE-2022-25857 USN-5944-1 |
| Ubuntu | 22.04:LTS | snakeyaml | 1.29-1ubuntu0.22.04.1 | UBUNTU-CVE-2022-25857 USN-5944-1 |
| Ubuntu | Pro:14.04:LTS | snakeyaml | 1.12-2ubuntu0.14.04.1~esm1 | UBUNTU-CVE-2022-25857 USN-5944-1 |
| Ubuntu | Pro:16.04:LTS | snakeyaml | 1.12-2ubuntu0.16.04.1~esm1 | UBUNTU-CVE-2022-25857 USN-5944-1 |
| Red Hat | enterprise_linux:8::appstream | prometheus-jmx-exporter, prometheus-jmx-exporter-openjdk8, prometheus-jmx-exporter-openjdk11 and 1 more | 0:0.12.0-8.el8_6 | RHSA-2022:6820 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-snakeyaml | 0:1.31.0-1.redhat_00001.1.el7eap | RHSA-2022:6821 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-undertow | 0:2.2.19-1.SP2_redhat_00001.1.el7eap | RHSA-2022:6821 |
| Red Hat | jboss_enterprise_application_platform:7.4::el8 | eap7-snakeyaml | 0:1.31.0-1.redhat_00001.1.el8eap | RHSA-2022:6822 |
| Red Hat | jboss_enterprise_application_platform:7.4::el8 | eap7-undertow | 0:2.2.19-1.SP2_redhat_00001.1.el8eap | RHSA-2022:6822 |
| Red Hat | jboss_enterprise_application_platform:7.4::el9 | eap7-snakeyaml | 0:1.31.0-1.redhat_00001.1.el9eap | RHSA-2022:6823 |
| Red Hat | jboss_enterprise_application_platform:7.4::el9 | eap7-undertow | 0:2.2.19-1.SP2_redhat_00001.1.el9eap | RHSA-2022:6823 |
| Red Hat | jboss_enterprise_application_platform_eus:7.1::el7 | eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more | 0:1.5.5.016-1.redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat | jboss_enterprise_application_platform_eus:7.1::el7 | eap7-artemis-native, eap7-artemis-native-wildfly, eap7-artemis-native-debuginfo | 1:1.5.5.016-1.redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat | jboss_enterprise_application_platform_eus:7.1::el7 | eap7-jboss-xnio-base | 0:3.5.11-1.Final_redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat | jboss_enterprise_application_platform_eus:7.1::el7 | eap7-jsoup | 0:1.14.2-1.redhat_00002.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat | jboss_enterprise_application_platform_eus:7.1::el7 | eap7-undertow | 0:1.4.18-14.SP13_redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| 230 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4, Manager Server Module 4.2 and 1 more | snakeyaml | 1.31-150200.3.8.1 | SUSE-SU-2022:3397-1 |
| SUSE | Manager Server Module 4.1 | snakeyaml | 1.31-150200.12.6.1 | SUSE-SU-2022:3560-1 |
| openSUSE | Leap 15.3, Leap 15.4 | snakeyaml | 1.31-150200.3.8.1 | SUSE-SU-2022:3397-1 |
| AlmaLinux | 8 | prometheus-jmx-exporter, prometheus-jmx-exporter-openjdk11 | 0.12.0-8.el8_6 | ALSA-2022:6820 |
| Rocky Linux | 8 | prometheus-jmx-exporter | 0:0.12.0-8.el8 | RLSA-2022:6820 |
| Rocky Linux | 8 | prometheus-jmx-exporter | 0:0.12.0-8.el8_6 | RLSA-2022:6820 |
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; SUSE security data, 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 · SUSE · openSUSE.
Red Hat rates this Important.
For RHEL-8 it's downgraded to moderate because "snakeyaml" itself in RHEL 8 or RHEL-9 isn't shipped and "prometheus-jmx-exporter" is needed as build dependency. And it's not directly exploitable, hence severity marked as moderate.
Red Hat Integration and AMQ products are not vulnerable to this flaw, so their severity has been lowered to moderate.
Red Hat Single Sign-On uses snakeyaml from liquibase-core and is only used when performing migrations and would require administrator privileges to execute, hence severity marked as Low.
Red Hat Fuse 7 is now in Maintenance Support Phase and details about its fix should be present soon. However, Red Hat Fuse Online (Syndesis) does will not contain the fix for this flaw.
| Product | Package | State | Advisory |
|---|---|---|---|
| OCP-Tools-4.12-RHEL-8 | jenkins-2-plugins-0:4.12.1698294000-1.el8 | Fixed 2023-10-30 | RHSA-2023:6172 |
| OCP-Tools-4.12-RHEL-8 | jenkins-2-plugins-0:4.12.1706515741-1.el8 | Fixed 2024-02-12 | RHSA-2024:0778 |
| OCP-Tools-4.13-RHEL-8 | jenkins-2-plugins-0:4.13.1698292274-1.el8 | Fixed 2023-10-30 | RHSA-2023:6179 |
| OCP-Tools-4.13-RHEL-8 | jenkins-2-plugins-0:4.13.1706516346-1.el8 | Fixed 2024-02-12 | RHSA-2024:0776 |
| OCP-Tools-4.14-RHEL-8 | jenkins-2-plugins-0:4.14.1699356715-1.el8 | Fixed 2023-11-16 | RHSA-2023:7288 |
| OCP-Tools-4.14-RHEL-8 | jenkins-2-plugins-0:4.14.1706516441-1.el8 | Fixed 2024-02-12 | RHSA-2024:0777 |
| 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 |
| Red Hat AMQ Broker 7 | snakeyaml | Fixed 2022-12-07 | RHSA-2022:8876 |
| Red Hat AMQ Clients | snakeyaml | Fixed 2023-12-07 | RHSA-2023:7697 |
| Red Hat build of Eclipse Vert.x 4.3.3 | snakeyaml | Fixed 2022-10-05 | RHSA-2022:6757 |
| A-MQ Clients 2 | snakeyaml | Affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch6-rhel8 | Not affected | |
| Red Hat A-MQ Online | snakeyaml | Not affected | |
| Red Hat build of Debezium 1 | snakeyaml | Not affected | |
| Red Hat Enterprise Linux 7 | snakeyaml | Out of support scope | |
| Red Hat Integration Camel K 1 | snakeyaml | Affected | |
| Red Hat Integration Camel Quarkus 1 | snakeyaml | Affected | |
| Red Hat Integration Service Registry | snakeyaml | Out of support scope | |
| Red Hat JBoss Data Grid 7 | snakeyaml | Out of support scope | |
| Red Hat JBoss Data Virtualization 6 | snakeyaml | Out of support scope | |
| 51 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-25857.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.