CVE-2022-38751 json
DoS in SnakeYAML
published 4y ago modified last mo. also GHSA-98wm-3w3q-mw94 , EUVD-2022-6753
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 81%
- 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 stackoverflow.
Patch / fix
- maven org.yaml:snakeyaml 1.31
- snakeyaml SnakeYAML 1.31
- snakeyaml Debian 14, Debian 13, Debian 12 1.31-1
debian advisories DEBIAN-CVE-2022-38751
- snakeyaml Ubuntu 18.04 LTS 1.23-1+deb10u1build0.18.04.1
- snakeyaml Ubuntu 20.04 LTS 1.25+ds-2ubuntu0.1
- snakeyaml Ubuntu 22.04 LTS 1.29-1ubuntu0.22.04.1
- snakeyaml Ubuntu Pro 14.04 LTS 1.12-2ubuntu0.14.04.1~esm1
- snakeyaml Ubuntu Pro 16.04 LTS 1.12-2ubuntu0.16.04.1~esm1
ubuntu advisories UBUNTU-CVE-2022-38751
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- 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:1043RHSA-2023:1044RHSA-2023:1045
- 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-38751 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-38751 updated cvss 6.5
snakeyaml: Uncaught exception in java.base/java.util.regex.Pattern$Ques.match
-
Red Hat OpenShift Developer Tools and Services jenkins-2-pluginsaffected: no fix available
-
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”
+1 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 Application Runtimes snakeyamlaffected: no fix available
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-metrics-cassandra, openshift3/ose-metrics-hawkular-metricsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Dev Spaces devspaces/udi-rhel8, devspaces/idea-rhel8affected: no fix available
show 16 moreshow fewer
-
Red Hat Process Automation 7 snakeyamlaffected: no fix planned “Out of support scope”
-
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 streams for Apache Kafka snakeyamlaffected: no fix available
-
Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-20fixed: vendor fix RHSA-2023:1047
-
Red Hat AMQ Broker 7fixed: vendor fix RHSA-2022:8876
-
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 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:1049
-
Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.6-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.6-1.redhat_00001.1.el7ssofixed: vendor fix RHSA-2023:1043
-
Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.6-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.6-1.redhat_00001.1.el8ssofixed: vendor fix RHSA-2023:1044
-
Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.6-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.6-1.redhat_00001.1.el9ssofixed: vendor fix RHSA-2023:1045
-
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 snakeyaml Red Hat build of Quarkus snakeyamlnot affected: vulnerable code not present
+2 more productsfewer
Red Hat JBoss Enterprise Application Platform 7 snakeyaml Red Hat JBoss Enterprise Application Platform Expansion Pack snakeyaml
1 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
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
2.03% chance of exploitation in the next 30 days, higher than 81% 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.31 |
1.31 |
Affected products
- snakeyaml SnakeYAML
Classification
References
-
security.gentoo.org
/glsa/202305-28
vendor-advisory, web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=47039
web, third-party-advisory
-
bitbucket.org
/snakeyaml/snakeyaml/issues/530/stackoverflow-oss-fuzz-47039
web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/10/msg00001.html
mailing-list, web, third-party-advisory
- security.netapp.com /advisory/ntap-20240315-0010/
-
nvd.nist.gov
/vuln/detail/CVE-2022-38751
advisory
-
bitbucket.org
/snakeyaml/snakeyaml
package
-
bitbucket.org
/snakeyaml/snakeyaml/src/master/src/test/java/org/yaml/snakeyaml/issues/issue530/Fuzzy47039Test.java
web
-
security.netapp.com
/advisory/ntap-20240315-0010
web
Sources
- CVE List CVE-2022-38751
- GitHub Advisory GHSA-98wm-3w3q-mw94
- NVD CVE-2022-38751
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.