ADVISORIES

GitHub Advisory Database

GHSA-c4r9-r8fh-9vj2

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

Moderate CVE-2022-38749

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

Affected packages

EcosystemPackageAffected versions
Mavenorg.yaml:snakeyaml
All versions before 1.31 (fixed in 1.31)
Mavenbe.cylab:snakeyaml
1.25.1
Mavencom.alipay.sofa.acts:acts-common-util
1.0.0
Mavenio.prometheus.jmx:jmx_prometheus_httpserver
0.17.0
Mavenio.prometheus.jmx:jmx_prometheus_httpserver_java6
All versions up to and including 0.18.0
Mavenorg.testifyproject.external:external-snakeyaml
All versions up to and including 1.0.6
Mavenpl.droidsonroids.yaml:snakeyaml
All versions up to and including 1.18.2

References