MediumGHSA-9w3m-gqgf-c4p9CVE-2022-38752

snakeYAML before 1.32 vulnerable to Denial of Service due to Out-of-bounds Write

Published 6 Sept 2022 · Updated 10 Sept 2026

Is your project on an affected org.yaml:snakeyaml?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.32
Fixed in
1.32
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.yaml:snakeyaml -DdepVersion=1.32 -DforceVersion=true

Details

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.

Is GHSA-9w3m-gqgf-c4p9 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.yaml:snakeyaml, and gives you the command that fixes it.

More advisories for org.yaml:snakeyaml

  • HighCVE-2022-1471SnakeYaml Constructor Deserialization Remote Code Execution · 12 Dec 2022
  • MediumCVE-2022-41854Snakeyaml vulnerable to Stack overflow leading to denial of service · 11 Nov 2022
  • MediumCVE-2022-38751snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write · 6 Sept 2022
  • MediumCVE-2022-38749snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write · 6 Sept 2022
  • MediumCVE-2022-38750snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write · 6 Sept 2022
  • HighCVE-2022-25857Uncontrolled Resource Consumption in snakeyaml · 31 Aug 2022
All 8 advisories for org.yaml:snakeyaml

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.