CVE-2022-41854: Stack Overflow in Snakeyaml

Published Nov 11, 2022
·
Updated

Stack Overflow in Snakeyaml

Other sources

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.

Affected Software

13 affected componentsFixes available
redhat/eap7-snakeyaml<0:1.33.0-2.SP1_redhat_00001.1.el8ea
0:1.33.0-2.SP1_redhat_00001.1.el8ea
redhat/eap7-snakeyaml<0:1.33.0-2.SP1_redhat_00001.1.el9ea
0:1.33.0-2.SP1_redhat_00001.1.el9ea
redhat/eap7-snakeyaml<0:1.33.0-2.SP1_redhat_00001.1.el7ea
0:1.33.0-2.SP1_redhat_00001.1.el7ea
redhat/rh-sso7-keycloak<0:18.0.7-1.redhat_00001.1.el7
0:18.0.7-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:18.0.7-1.redhat_00001.1.el8
0:18.0.7-1.redhat_00001.1.el8
redhat/rh-sso7-keycloak<0:18.0.7-1.redhat_00001.1.el9
0:18.0.7-1.redhat_00001.1.el9
maven/org.yaml:snakeyaml<1.32
1.32
Snakeyaml Project Snakeyaml<1.32
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Microsoft cbl2 snakeyaml
redhat/snakeyaml<1.32
1.32
IBM watsonx.data intelligence<=5.2.0, 5.2.1, 5.3.0, 5.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/eap7-snakeyaml to a version that resolves this vulnerability.

    Fixed in 0:1.33.0-2.SP1_redhat_00001.1.el8ea
  2. Upgrade

    Upgrade redhat/eap7-snakeyaml to a version that resolves this vulnerability.

    Fixed in 0:1.33.0-2.SP1_redhat_00001.1.el9ea
  3. Upgrade

    Upgrade redhat/eap7-snakeyaml to a version that resolves this vulnerability.

    Fixed in 0:1.33.0-2.SP1_redhat_00001.1.el7ea
  4. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.7-1.redhat_00001.1.el7
  5. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.7-1.redhat_00001.1.el8
  6. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.7-1.redhat_00001.1.el9
  7. Upgrade

    Upgrade maven/org.yaml:snakeyaml to a version that resolves this vulnerability.

    Fixed in 1.32
  8. Upgrade

    Upgrade redhat/snakeyaml to a version that resolves this vulnerability.

    Fixed in 1.32

Event History

Nov 11, 2022
CVE Published
via MITRE·01:10 PM
Data Sourced
via MITRE·01:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·07:00 PM
Dec 8, 2022
Data Sourced
via Red Hat·07:17 PM
DescriptionSeverityAffected Software
Oct 1, 2025
Data Sourced
via Microsoft·11:11 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:11 PM
Affected Software
Updated
via Microsoft·11:11 PM
DescriptionSeverity
Apr 27, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-41854?

CVE-2022-41854 is a vulnerability in snakeYAML that allows for a denial of service attack through improper input validation.

2

What is the severity of CVE-2022-41854?

The severity of CVE-2022-41854 is medium, with a CVSS score of 6.5.

3

How does CVE-2022-41854 affect Snakeyaml users?

Snakeyaml users who parse untrusted YAML files may be vulnerable to denial of service attacks.

4

How can the CVE-2022-41854 vulnerability be fixed?

To fix the CVE-2022-41854 vulnerability, users should update to snakeYAML version 1.33.0 or later.

5

Are there any references for CVE-2022-41854?

Yes, you can find more information about CVE-2022-41854 in the following references: [link1](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50355) and [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2152478).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203