Skip to content
Fencer Vulns
medium 6.5

CVE-2022-38750 json

DoS in SnakeYAML

published 2022-09-05 4 y ago modified 2026-09-10 1 mo ago also GHSA-hhhw-99gj-p3c3 , EUVD-2022-6839

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 69%
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-38750

  • 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-38750

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

Vendor 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-38750 updated cvss 5.5

snakeyaml: Uncaught exception in org.yaml.snakeyaml.constructor.BaseConstructor.constructObject

  • Red Hat OpenShift Developer Tools and Services jenkins-2-plugins
    affected: no fix available
  • Red Hat A-MQ Online snakeyaml
    affected: no fix planned “Will not fix”
  • Red Hat Decision Manager 7 snakeyaml Red Hat Enterprise Linux 7 snakeyaml, snakeyaml-javadoc
    affected: no fix planned “Out of support scope”
  • Red Hat Fuse 7 snakeyaml
    affected: no fix planned “Will not fix”
  • Red Hat Integration Camel K 1 snakeyaml Red Hat Integration Camel Quarkus 1 snakeyaml
    affected: 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 snakeyaml
    +2 more products
    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
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Dev Spaces devspaces/udi-rhel8, devspaces/idea-rhel8
    affected: no fix available
  • Red Hat Process Automation 7 snakeyaml
    affected: no fix planned “Out of support scope”
show 15 more
  • Red Hat Satellite 6 puppetserver
    affected: 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 snakeyaml
    affected: no fix planned “Will not fix”
  • Red Hat streams for Apache Kafka snakeyaml
    affected: no fix available
  • Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-20
    fixed: vendor fix RHSA-2023:1047
  • Red Hat AMQ Broker 7
    fixed: vendor fix RHSA-2022:8876
  • Red Hat build of Eclipse Vert.x 4.3.3
    fixed: vendor fix RHSA-2022:6757
  • Red Hat Data Grid 8.4.0
    fixed: 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.el8sat
    fixed: vendor fix RHSA-2023:2097
  • Red Hat Single Sign-On 7
    fixed: 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.el7sso
    fixed: 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.el8sso
    fixed: 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.el9sso
    fixed: vendor fix RHSA-2023:1045
  • Red Hat RHINT Camel-Springboot 3.18.3.P2
    fixed: vendor fix RHSA-2023:3641
  • Red Hat RHINT Camel-Springboot 3.20.1
    fixed: 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 build of Apicurio Registry 2 snakeyaml Red Hat build of Debezium 1 snakeyaml Red Hat build of Quarkus snakeyaml Red Hat JBoss Enterprise Application Platform 7 snakeyaml
    +2 more products
    Red Hat JBoss Enterprise Application Platform Expansion Pack snakeyaml Red Hat Satellite 6.13 for RHEL 8 cjson 1.7.14-5.el8sat, katello 4.7.0-1.el8sat, libsolv 0.7.22-4.el8pc, libcomps 0.1.18-4.el8pc, python-idna 3.3-2.el8pc, python-pbr 5.8.0-4.el8pc, +669 more
    not affected: vulnerable code not present

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
2 y ago

Exploit prediction

1.27% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47027 referenced PoC, tagged "exploit" by a source, unverified
  • bitbucket.org https://bitbucket.org/snakeyaml/snakeyaml/issues/526/stackoverflow-oss-fuzz-47027 referenced PoC, tagged "exploit" by a source, unverified

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 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
GitHub 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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

Weakness

References

Sources

Fencer Vulns 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.