cve.bz

CVE-2022-38752 snakeyaml project snakeyaml: Out-of-bounds Write

6.5 mediumEPSS 2.7%Fix available

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

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
2.7% (unchanged from 2.7% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-07-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
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-38752 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-38752?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-38752?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-38752 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
SnakeYAMLthrough 1.31

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9w3m-gqgf-c4p9Mavenorg.yaml:snakeyaml<1.321.32

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14snakeyaml1.33-1DEBIAN-CVE-2022-38752
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
251 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4, Manager Server Module 4.2 and 1 moresnakeyaml1.31-150200.3.8.1SUSE-SU-2022:3397-1
SUSEManager Server Module 4.1snakeyaml1.31-150200.12.6.1SUSE-SU-2022:3560-1
openSUSELeap 15.3, Leap 15.4snakeyaml1.31-150200.3.8.1SUSE-SU-2022:3397-1

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Build of Quarkus is not affected by this issue as it already includes the fixed version.

ProductPackageStateAdvisory
Red Hat AMQ Streams 2.3.0snakeyamlFixed 2023-01-17RHSA-2023:0189
Red Hat build of Eclipse Vert.x 4.3.3snakeyamlFixed 2022-10-05RHSA-2022:6757
Red Hat Data Grid 8.4.0snakeyamlFixed 2022-11-17RHSA-2022:8524
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
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-snakeyaml-0:1.33.0-2.SP1_redhat_00001.1.el7eapFixed 2023-03-29RHSA-2023:1512
Red Hat Satellite 6.13 for RHEL 8candlepin-0:4.2.13-1.el8satFixed 2023-05-03RHSA-2023:2097
Red Hat Single Sign-On 7.0snakeyamlFixed 2023-05-10RHSA-2023:2713
Red Hat Single Sign-On 7.6 for RHEL 7rh-sso7-keycloak-0:18.0.7-1.redhat_00001.1.el7ssoFixed 2023-05-10RHSA-2023:2705
A-MQ Clients 2snakeyamlNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat AMQ Broker 7snakeyamlWill not fix
Red Hat A-MQ OnlinesnakeyamlNot affected
Red Hat build of Apicurio Registry 2snakeyamlNot affected
Red Hat build of Debezium 1snakeyamlNot affected
Red Hat build of QuarkussnakeyamlNot affected
Red Hat Decision Manager 7snakeyamlOut of support scope
Red Hat Enterprise Linux 7snakeyamlOut of support scope
36 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-38752.

References

Check your stackJSON