cve.bz

CVE-2022-38750 Out-of-bounds Write

5.5 mediumExploit referenceEPSS 1.3%Fix available

Medium (5.5). EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.yaml:snakeyaml 1.31.

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 stackoverflow.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-03-15. 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-38750 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-38750?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-38750?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-38750 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.31

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hhhw-99gj-p3c3Mavenorg.yaml:snakeyaml<1.311.31

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10snakeyaml1.23-1+deb10u1DLA-3132-1
Debian12, 13, 14snakeyaml1.31-1DEBIAN-CVE-2022-38750
Ubuntu18.04:LTSsnakeyaml1.23-1+deb10u1build0.18.04.1UBUNTU-CVE-2022-38750 USN-5944-1
Ubuntu20.04:LTSsnakeyaml1.25+ds-2ubuntu0.1UBUNTU-CVE-2022-38750 USN-5944-1
Ubuntu22.04:LTSsnakeyaml1.29-1ubuntu0.22.04.1UBUNTU-CVE-2022-38750 USN-5944-1
UbuntuPro:14.04:LTSsnakeyaml1.12-2ubuntu0.14.04.1~esm1UBUNTU-CVE-2022-38750 USN-5944-1
UbuntuPro:16.04:LTSsnakeyaml1.12-2ubuntu0.16.04.1~esm1UBUNTU-CVE-2022-38750 USN-5944-1
Red Hatred_hat_single_sign_on:7.6::el7rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.6-1.redhat_00001.1.el7ssoRHSA-2023:1043
Red Hatred_hat_single_sign_on:7.6::el8rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.6-1.redhat_00001.1.el8ssoRHSA-2023:1044
Red Hatred_hat_single_sign_on:7.6::el9rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.6-1.redhat_00001.1.el9ssoRHSA-2023:1045
Red Hatsatellite:6.13::el8foreman-obsolete-packages0:1.1-1.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8postgresql-evr0:0.0.2-1.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8python-websockify, python3-websockify0:0.10.0-3.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8qpid-dispatch, qpid-dispatch-tools, qpid-dispatch-router and 2 more0:1.14.0-6.el8RHSA-2023:2097
Red Hatsatellite:6.13::el8qpid-proton, qpid-proton-c, python3-qpid-proton and 5 more0:0.33.0-4.el8RHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-acts_as_list0:1.0.3-2.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-algebrick, rubygem-websocket-driver, rubygem-websocket-driver-debuginfo and 1 more0:0.7.5-1.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-anemone0:0.7.2-23.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-apipie-rails0:0.8.2-1.1.el8satRHSA-2023:2097
191 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; 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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · 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.

Satellite component Candlepin does not directly use snakeyaml, so it is not affected. Regardless, an update with the latest, unaffected snakeyaml version will be provided at next release.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7snakeyamlFixed 2022-12-07RHSA-2022:8876
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 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-03-01RHSA-2023:1049
Red Hat Single Sign-On 7.6 for RHEL 7rh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el7ssoFixed 2023-03-01RHSA-2023:1043
Red Hat Single Sign-On 7.6 for RHEL 8rh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el8ssoFixed 2023-03-01RHSA-2023:1044
Red Hat Single Sign-On 7.6 for RHEL 9rh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el9ssoFixed 2023-03-01RHSA-2023:1045
RHEL-8 based Middleware Containersrh-sso-7/sso76-openshift-rhel8:7.6-20Fixed 2023-03-01RHSA-2023:1047
RHINT Camel-Springboot 3.18.3.P2snakeyamlFixed 2023-06-15RHSA-2023:3641
A-MQ Clients 2snakeyamlNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat A-MQ OnlinesnakeyamlWill not fix
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
Red Hat Fuse 7snakeyamlWill not fix
33 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-38750.

References

Check your stackJSON