CVE-2022-38749: snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write

CVE-2022-38749 · Severity: low · CVSS 3.1 · Published 2022-09-06

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

Technologies: org.yaml:snakeyaml (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-38749 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-38749 being exploited in the wild.
How severe is CVE-2022-38749?
Low severity, with a CVSS score of 3.1, published 6 September 2022.
Which products and versions are affected?
io.prometheus.jmx:jmx_prometheus_httpserver_java6 (Maven) ECOSYSTEM:introduced=0,last_affected=0.18.0; org.testifyproject.external:external-snakeyaml (Maven) ECOSYSTEM:introduced=0,last_affected=1.0.6; org.yaml:snakeyaml (Maven) ECOSYSTEM:introduced=0,fixed=1.31; pl.droidsonroids.yaml:snakeyaml (Maven) ECOSYSTEM:introduced=0,last_affected=1.18.2.
Is there a fix for CVE-2022-38749?
Yes. org.yaml:snakeyaml (Maven): upgrade to 1.31 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-38749?
Check whether you run be.cylab:snakeyaml (Maven), com.alipay.sofa.acts:acts-common-util (Maven), io.prometheus.jmx:jmx_prometheus_httpserver (Maven) or one of the others listed 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.31 or later
    # set org.yaml:snakeyaml to 1.31 in your pom.xml or build.gradle

Affected products

  • be.cylab:snakeyaml (Maven)
  • com.alipay.sofa.acts:acts-common-util (Maven)
  • io.prometheus.jmx:jmx_prometheus_httpserver (Maven)
  • io.prometheus.jmx:jmx_prometheus_httpserver_java6 (Maven) ECOSYSTEM:introduced=0,last_affected=0.18.0
  • org.testifyproject.external:external-snakeyaml (Maven) ECOSYSTEM:introduced=0,last_affected=1.0.6
  • org.yaml:snakeyaml (Maven) ECOSYSTEM:introduced=0,fixed=1.31
  • pl.droidsonroids.yaml:snakeyaml (Maven) ECOSYSTEM:introduced=0,last_affected=1.18.2

Identifiers

  • CVE-2022-38749
  • GHSA-c4r9-r8fh-9vj2

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.