# CVE-2022-41854: Snakeyaml vulnerable to Stack overflow leading to denial of service

Source: https://junglewise.ai/threats/cve-2022-41854-snakeyaml-vulnerable-to-stack-overflow-leading-to-denial-of  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-11-11  
License: CC BY 4.0 with a link back

CVE-2022-41854 · Severity: low · CVSS 3.1 · Published 2022-11-11

Snakeyaml vulnerable to Stack overflow leading to denial of service

Technologies: [org.yaml:snakeyaml (Maven)](https://junglewise.ai/threats/technologies/org-yaml-snakeyaml). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-41854 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-41854 being exploited in the wild.

**How severe is CVE-2022-41854?** Low severity, with a CVSS score of 3.1, published 11 November 2022.

**Which products and versions are affected?** org.yaml:snakeyaml (Maven) ECOSYSTEM:introduced=0,fixed=1.32.

**Is there a fix for CVE-2022-41854?** Yes. org.yaml:snakeyaml (Maven): upgrade to 1.32 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-41854?** Check whether you run org.yaml:snakeyaml (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.yaml:snakeyaml (Maven): upgrade to 1.32 or later

  ```sh
  # set org.yaml:snakeyaml to 1.32 in your pom.xml or build.gradle
  ```


## Affected products

- org.yaml:snakeyaml (Maven) ECOSYSTEM:introduced=0,fixed=1.32

## Identifiers

- CVE-2022-41854
- GHSA-w37g-rhq8-7m4j

## Related threats

- [SnakeYaml Constructor Deserialization Remote Code Execution](https://junglewise.ai/threats/cve-2022-1471-snakeyaml-constructor-deserialization-remote-code-execution)
- [snakeYAML before 1.32 vulnerable to Denial of Service due to Out-of-bounds Write](https://junglewise.ai/threats/cve-2022-38752-snakeyaml-before-1-32-vulnerable-to-denial-of-service-due-to-out)
- [snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write](https://junglewise.ai/threats/cve-2022-38749-snakeyaml-before-1-31-vulnerable-to-denial-of-service-due-to-out)
- [snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write](https://junglewise.ai/threats/cve-2022-38751-snakeyaml-before-1-31-vulnerable-to-denial-of-service-due-to-out)
- [snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write](https://junglewise.ai/threats/cve-2022-38750-snakeyaml-before-1-31-vulnerable-to-denial-of-service-due-to-out)
