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

17 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
debian/snakeyaml<1.33-1
1.33-1
debian/snakeyaml<1.33-1
1.33-1
debian/snakeyaml<1.33-1
1.33-1
debian/snakeyaml
1.23-1+deb10u11.33-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
  9. Upgrade

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

    Fixed in 1.33-1
  10. Upgrade

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

    Fixed in 1.23-1+deb10u1Fixed in 1.33-1

Event History

Nov 11, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
CVE Published
via MITRE·01:10 PM
Data Sourced
01:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 PM
DescriptionAffected Software
Advisory Published
via GitHub·07:00 PM
Data Sourced
via GitHub·07:00 PM
DescriptionSeverityWeaknessAffected Software
Nov 13, 2022
Data Sourced
12:00 AM
Remedy
Mar 10, 2023
Updated
via IBM·12:00 AM
Affected Software
Dec 7, 2023
Data Sourced
via Red Hat·01:42 PM
DescriptionSeverityAffected Software
Feb 23, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Feb 26, 2024
Updated
via IBM·12:00 AM
Affected Software
Mar 15, 2024
Advisory Published
via GitHub·07:06 PM
Jun 21, 2024
Updated
via NVD·07:15 PM
Affected Software
Feb 20, 2025
Updated
via IBM·12:00 AM
Affected Software
Mar 14, 2025
Updated
via IBM·12:00 AM
Affected Software
Apr 3, 2025
Updated
via IBM·12:00 AM
Affected Software
Oct 1, 2025
Data Sourced
via Microsoft·11:11 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:11 PM
Affected Software
Mar 4, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software
Apr 27, 2026
Updated
via IBM·12:00 AM
Affected Software
Jun 17, 2026
Updated
via NVD·05:03 AM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·08:03 AM
Severity

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