Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.yaml/snakeyaml
  4. ›
  5. CVE-2022-38749

CVE-2022-38749: Out-of-bounds Write

September 5, 2022 (updated May 21, 2023)

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 stackoverflow.

References

  • bitbucket.org/snakeyaml/snakeyaml/issues/525/got-stackoverflowerror-for-many-open
  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=47024
  • nvd.nist.gov/vuln/detail/CVE-2022-38749

Code Behaviors & Features

Detect and mitigate CVE-2022-38749 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.31

Fixed versions

  • 1.31

Solution

Upgrade to version 1.31 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

maven/org.yaml/snakeyaml/CVE-2022-38749.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.