CVE-2022-38752 json
DoS in SnakeYAML
published 4y ago modified last mo. also GHSA-9w3m-gqgf-c4p9 , EUVD-2022-6769
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.yaml:snakeyaml 1.32
- snakeyaml_project snakeyaml 1.32
- snakeyaml Debian 14, Debian 13, Debian 12 1.33-1
debian advisories DEBIAN-CVE-2022-38752
- cjson satellite capsule 6.13, satellite 6.13 1.7.14-5.el8sat
- foreman satellite utils 6.13, satellite capsule 6.13, satellite 6.13 3.5.1.14-1.el8sat
- katello satellite capsule 6.13, satellite 6.13 4.7.0-1.el8sat
- libsolv satellite capsule 6.13, satellite 6.13 0.7.22-4.el8pc
- libcomps satellite capsule 6.13, satellite 6.13 0.1.18-4.el8pc
- qpid-cpp satellite capsule 6.13, satellite 6.13 1.39.0-7.el8amq
- qpid-qmf satellite capsule 6.13, satellite 6.13 1.39.0-7.el8amq
- candlepin satellite 6.13 4.2.13-1.el8sat
red hat advisories RHSA-2023:2097RHSA-2023:1514RHSA-2023:1513RHSA-2023:1512RHSA-2023:2707RHSA-2023:2706
- snakeyaml Manager Server Module 4.1 1.31-150200.12.6.1
- snakeyaml SLE Module for Development Tools 15 SP4, SLE Module for Development Tools 15 SP3, openSUSE Leap 15.4 +3 more 1.31-150200.3.8.1
suse advisories SUSE-SU-2022:3560-1SUSE-SU-2022:3397-1
Is CVE-2022-38752 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-38752 updated cvss 6.5
snakeyaml: Uncaught exception in java.base/java.util.ArrayList.hashCode
-
Red Hat OpenShift Developer Tools and Services jenkins-2-pluginsaffected: no fix available
-
Red Hat AMQ Broker 7 snakeyamlaffected: no fix planned “Will not fix”
-
Red Hat Decision Manager 7 snakeyaml Red Hat Enterprise Linux 7 snakeyaml, snakeyaml-javadocaffected: no fix planned “Out of support scope”
-
Red Hat Fuse 7 snakeyamlaffected: no fix planned “Will not fix”
-
Red Hat Integration Camel K 1 snakeyaml Red Hat Integration Camel Quarkus 1 snakeyamlaffected: no fix available
-
Red Hat Integration Service Registry snakeyaml Red Hat JBoss Data Grid 7 snakeyaml Red Hat JBoss Data Virtualization 6 snakeyaml Red Hat JBoss Enterprise Application Platform 6 snakeyaml, jboss-on jboss-on, eap6-snakeyaml eap6-snakeyaml, jbossas-modules-eap jbossas-modules-eap, keycloak-adapter-eap6 keycloak-adapter-eap6, keycloak-adapter-sso7_2-eap6 keycloak-adapter-sso7_2-eap6, +3 more Red Hat JBoss Fuse 6 snakeyaml Red Hat JBoss Fuse Service Works 6 snakeyamlaffected: no fix planned “Out of support scope”
+2 more productsfewer
Red Hat JBoss Operations Network 3 snakeyaml, jboss-on jboss-on, org.jboss.on-jboss-on-parent org.jboss.on-jboss-on-parent Red Hat OpenShift Container Platform 3.11 openshift3/ose-metrics-cassandra, openshift3/ose-metrics-hawkular-metrics -
Red Hat OpenShift Dev Spaces devspaces/udi-rhel8, devspaces/idea-rhel8affected: no fix available
-
Red Hat Process Automation 7 snakeyamlaffected: no fix planned “Out of support scope”
show 18 moreshow fewer
-
Red Hat Satellite 6 puppetserveraffected: no fix available
-
Red Hat Software Collections rh-maven36-byte-buddy, rh-maven36-byte-buddy-agent, rh-maven36-byte-buddy-parent, rh-maven36-byte-buddy-javadoc, rh-maven36-byte-buddy-maven-plugin Red Hat support for Spring Boot snakeyamlaffected: no fix planned “Will not fix”
-
Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-22fixed: vendor fix RHSA-2023:2710
-
Red Hat AMQ Streams 2.3.0fixed: vendor fix RHSA-2023:0189
-
Red Hat build of Eclipse Vert.x 4.3.3fixed: vendor fix RHSA-2022:6757
-
Red Hat Data Grid 8.4.0fixed: vendor fix RHSA-2022:8524
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el7eapfixed: vendor fix RHSA-2023:1512
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el8eapfixed: vendor fix RHSA-2023:1513
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el9eapfixed: vendor fix RHSA-2023:1514
-
Red Hat JBoss Enterprise Application Platform snakeyaml 1.33.0.SP1-redhat-00001fixed: vendor fix RHSA-2023:1516
-
Red Hat Satellite 6.13 for RHEL 8 candlepin 4.2.13-1.el8sat, candlepin-selinux 4.2.13-1.el8satfixed: vendor fix RHSA-2023:2097
-
Red Hat Single Sign-On 7fixed: vendor fix RHSA-2023:2713
-
Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.7-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.7-1.redhat_00001.1.el7ssofixed: vendor fix RHSA-2023:2705
-
Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.7-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.7-1.redhat_00001.1.el8ssofixed: vendor fix RHSA-2023:2706
-
Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.7-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.7-1.redhat_00001.1.el9ssofixed: vendor fix RHSA-2023:2707
-
Red Hat RHINT Camel-Springboot 3.18.3.P2fixed: vendor fix RHSA-2023:3641
-
Red Hat RHINT Camel-Springboot 3.20.1fixed: vendor fix RHSA-2023:2100
-
Red Hat A-MQ Clients 2 snakeyaml Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat A-MQ Online snakeyaml Red Hat build of Apicurio Registry 2 snakeyaml Red Hat build of Debezium 1 snakeyamlnot affected: vulnerable code not present
7 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
2.70% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.yaml:snakeyaml | <1.32 |
1.32 |
Affected products
- snakeyaml SnakeYAML
- snakeyaml_project snakeyaml
Classification
References
-
security.gentoo.org
/glsa/202305-28
vendor-advisory, web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=47081
web, permissions-required
-
bitbucket.org
/snakeyaml/snakeyaml/issues/531/stackoverflow-oss-fuzz-47081
web, third-party-advisory
- security.netapp.com /advisory/ntap-20240315-0009/
-
nvd.nist.gov
/vuln/detail/CVE-2022-38752
advisory
-
bitbucket.org
/snakeyaml/snakeyaml
package
-
security.netapp.com
/advisory/ntap-20240315-0009
web
Sources
- CVE List CVE-2022-38752
- GitHub Advisory GHSA-9w3m-gqgf-c4p9
- NVD CVE-2022-38752
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.