cve.bz

CVE-2022-41854 Out-of-bounds Write

6.5 mediumExploit referenceEPSS 1.9%Fix available

Medium (6.5). EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.yaml:snakeyaml 1.32.

On this page
Those using Snakeyaml to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stack overflow. This effect may support a denial of service attack.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-41854 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41854?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41854?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-41854 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
SnakeYamlbefore 1.32

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w37g-rhq8-7m4jMavenorg.yaml:snakeyaml<1.321.32

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14snakeyaml1.33-1DEBIAN-CVE-2022-41854
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-activemq-artemis-native1:1.0.2-3.redhat_00004.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-apache-mime4j0:0.8.9-1.redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-artemis-native, eap7-artemis-native-wildfly, eap7-artemis-native-debuginfo1:1.0.2-4.redhat_00004.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-artemis-wildfly-integration0:1.0.7-1.redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-infinispan, eap7-infinispan-core, eap7-infinispan-commons and 7 more0:11.0.17-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.11-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-ejb-client0:4.0.50-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-el-api_3.0_spec0:2.0.1-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-metadata, eap7-jboss-metadata-ear, eap7-jboss-metadata-ejb and 3 more0:13.4.0-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-26.Final_redhat_00025.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-cxf0:5.4.8-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-spi0:3.4.0-2.Final_redhat_00001.1.el7eapRHSA-2023:1512
51 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Migration Toolkit for Runtimes 1 on RHEL 8mtr/mtr-web-container-rhel8:1.1-7Fixed 2023-05-31RHSA-2023:3373
MTA-6.2-RHEL-9mta/mta-windup-addon-rhel9:6.2.0-11Fixed 2023-08-14RHSA-2023:4627
OCP-Tools-4.12-RHEL-8ocp-tools-4/jenkins-agent-base-rhel8:v4.12.0-1683009711Fixed 2023-05-24RHBA-2023:3300
OCP-Tools-4.12-RHEL-8ocp-tools-4/jenkins-rhel8:v4.12.0-1683010621Fixed 2023-05-24RHBA-2023:3300
Red Hat AMQ Clientsdev-java-snakeyamlFixed 2023-12-07RHSA-2023:7697
Red Hat build of Eclipse Vert.x 4.3.7dev-java-snakeyamlFixed 2023-02-16RHSA-2023:0577
Red Hat Fuse 7.12dev-java-snakeyamlFixed 2023-06-29RHSA-2023:3954
Red Hat JBoss Enterprise Application Platformorg.yaml/snakeyaml:1.33.0.SP1-redhat-00001Fixed 2023-03-29RHSA-2023:1516
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-snakeyaml-0:1.33.0-2.SP1_redhat_00001.1.el8eapFixed 2023-03-29RHSA-2023:1513
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-snakeyaml-0:1.33.0-2.SP1_redhat_00001.1.el9eapFixed 2023-03-29RHSA-2023:1514
A-MQ Clients 2dev-java-snakeyamlAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Red Hat AMQ Broker 7dev-java-snakeyamlNot affected
Red Hat A-MQ Onlinedev-java-snakeyamlNot affected
Red Hat build of Apicurio Registry 2dev-java-snakeyamlNot affected
Red Hat build of Debezium 1dev-java-snakeyamlWill not fix
Red Hat build of Quarkusdev-java-snakeyamlNot affected
Red Hat Data Grid 8dev-java-snakeyamlNot affected
Red Hat Decision Manager 7dev-java-snakeyamlOut of support scope
Red Hat Enterprise Linux 7snakeyamlOut of support scope
44 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-41854.

References

Check your stackJSON