Skip to content
Fencer Vulns
medium 5.8

CVE-2022-41854 json

Stack Overflow in Snakeyaml

published 2022-11-11 3 y ago modified 2026-09-10 1 mo ago also GHSA-w37g-rhq8-7m4j , EUVD-2022-7446

cvss
5.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

Summary

Those 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. This effect may support a denial of service attack.

Patch / fix

  • maven org.yaml:snakeyaml 1.32
  • SnakeYaml SnakeYaml 1.32
  • snakeyaml Debian 14, Debian 13, Debian 12 1.33-1

debian advisories DEBIAN-CVE-2022-41854

  • eap7-netty jboss enterprise application platform 7.4 4.1.86-1.Final_redhat_00001.1.el9eap
  • eap7-wildfly jboss enterprise application platform 7.4 7.4.10-6.GA_redhat_00002.1.el9eap
  • eap7-resteasy jboss enterprise application platform 7.4 3.15.5-1.Final_redhat_00001.1.el9eap
  • eap7-undertow jboss enterprise application platform 7.4 2.2.23-1.SP2_redhat_00001.1.el9eap
  • eap7-snakeyaml jboss enterprise application platform 7.4 1.33.0-2.SP1_redhat_00001.1.el9eap
  • eap7-infinispan jboss enterprise application platform 7.4 11.0.17-1.Final_redhat_00001.1.el9eap
  • eap7-ironjacamar jboss enterprise application platform 7.4 1.5.11-1.Final_redhat_00001.1.el9eap
  • eap7-jbossws-cxf jboss enterprise application platform 7.4 5.4.8-1.Final_redhat_00001.1.el9eap

red hat advisories RHSA-2023:1514RHSA-2023:1513RHSA-2023:1512RHSA-2023:2707RHSA-2023:2706RHSA-2023:2705

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-41854 updated cvss 6.5

dev-java/snakeyaml: DoS via stack overflow

  • Red Hat A-MQ Clients 2 dev-java-snakeyaml dev-java-snakeyaml
    affected: no fix available
  • Red Hat build of Debezium 1 dev-java-snakeyaml dev-java-snakeyaml
    affected: no fix planned “Will not fix”
  • Red Hat Decision Manager 7 dev-java-snakeyaml dev-java-snakeyaml Red Hat Enterprise Linux 7 snakeyaml, snakeyaml-javadoc
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 log4j, log4j-jcl, log4j-web, log4j-slf4j Red Hat Enterprise Linux 9 log4j, log4j-jcl, log4j-slf4j, jackson-jaxrs-providers, pki-jackson-jaxrs-providers, pki-jackson-jaxrs-json-provider
    affected: no fix available “Fix deferred”
  • Red Hat Integration Camel K 1 dev-java-snakeyaml dev-java-snakeyaml
    affected: no fix available
  • Red Hat JBoss Data Grid 7 dev-java-snakeyaml dev-java-snakeyaml Red Hat JBoss Data Virtualization 6 dev-java-snakeyaml dev-java-snakeyaml Red Hat JBoss Enterprise Application Platform 6 jboss-on jboss-on, eap6-snakeyaml eap6-snakeyaml, dev-java-snakeyaml dev-java-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
    affected: no fix planned “Out of support scope”
  • Red Hat JBoss Enterprise Application Platform Expansion Pack dev-java-snakeyaml dev-java-snakeyaml
    affected: no fix available
  • Red Hat JBoss Fuse 6 dev-java-snakeyaml dev-java-snakeyaml Red Hat JBoss Fuse Service Works 6 dev-java-snakeyaml dev-java-snakeyaml
    affected: no fix planned “Out of support scope”
show 25 more
  • Red Hat OpenShift Application Runtimes dev-java-snakeyaml dev-java-snakeyaml
    affected: no fix available
  • Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins, openshift3/ose-metrics-cassandra, openshift3/ose-metrics-hawkular-metrics
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 jenkins-2-plugins Red Hat OpenShift Dev Spaces devspaces/udi-rhel8, devspaces/idea-rhel8
    affected: no fix available
  • Red Hat Process Automation 7 dev-java-snakeyaml dev-java-snakeyaml
    affected: no fix planned “Out of support scope”
  • 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
    affected: no fix planned “Will not fix”
  • Red Hat support for Spring Boot dev-java-snakeyaml dev-java-snakeyaml
    affected: no fix available
  • Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-22
    fixed: vendor fix RHSA-2023:2710
  • Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 mtr/mtr-web-container-rhel8 1.1-7
    fixed: vendor fix RHSA-2023:3373
  • Red Hat MTA 6.2 for RHEL 8 mta/mta-windup-addon-rhel9 6.2.0-11
    fixed: vendor fix RHSA-2023:4627
  • Red Hat OpenShift Developer Tools and Services for OCP 4.12 ocp-tools-4/jenkins-rhel8 v4.12.0-1683010621, ocp-tools-4/jenkins-agent-base-rhel8 v4.12.0-1683009711
    fixed: vendor fix RHBA-2023:3300
  • Red Hat AMQ Clients
    fixed: vendor fix RHSA-2023:7697
  • Red Hat build of Eclipse Vert.x 4.3.7
    fixed: vendor fix RHSA-2023:0577
  • Red Hat Fuse 7.12
    fixed: vendor fix RHSA-2023:3954
  • Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el7eap
    fixed: vendor fix RHSA-2023:1512
  • Red Hat JBoss EAP 7.4 for RHEL 8 eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el8eap
    fixed: vendor fix RHSA-2023:1513
  • Red Hat JBoss EAP 7.4 for RHEL 9 eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el9eap
    fixed: vendor fix RHSA-2023:1514
  • Red Hat JBoss Enterprise Application Platform snakeyaml 1.33.0.SP1-redhat-00001
    fixed: vendor fix RHSA-2023:1516
  • Red Hat Single Sign-On 7
    fixed: 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.el7sso
    fixed: 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.el8sso
    fixed: 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.el9sso
    fixed: vendor fix RHSA-2023:2707
  • 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 RHPAM 7.13.4 async
    fixed: vendor fix RHSA-2023:4983
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 mtr/mtr-rhel8-operator 1.1-6, mtr/mtr-operator-bundle 1.1-8, mtr/mtr-web-executor-container-rhel8 1.1-6
    not affected: vulnerable code not present

12 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

Exploit prediction

1.87% chance of exploitation in the next 30 days, higher than 79% 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=50355 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
GitHub 3.1 6.5 CVSS:3.1/AV:N/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.32
1.32

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.