CVE-2022-38749
DoS in SnakeYAML
Reported by google · Published September 5, 2022
external-snakeyaml is fixed in 1.0.6 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.testifyproject.external:external-snakeyaml | Maven Central | 1.0.6 |
| org.yaml:snakeyaml | Maven Central | 1.31 |
| pl.droidsonroids.yaml:snakeyaml | Maven Central | 1.18.2 |
| io.prometheus.jmx:jmx_prometheus_httpserver_java6 | Maven Central | 0.18.0 |
| management-api-for-apache-cassandra-4.1 | Chainguard | 0.1.109-r0 |
| request-1277 | Chainguard | 0.1.89-r0 |
| management-api-for-apache-cassandra-4.0 | Chainguard | 0.1.89-r0 |
| management-api-for-apache-cassandra-5.0 | Chainguard | 0.1.89-r0 |
| management-api-for-apache-cassandra-4.1 | Wolfi | 0.1.109-r0 |
| management-api-for-apache-cassandra-5.0 | Wolfi | 0.1.89-r0 |
| SnakeYAML | snakeyaml | 1.31 |
| snakeyaml | snakeyaml_project | 1.31 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| snakeyaml | SnakeYAML | unspecified |
| chainguard | management-api-for-apache-cassandra-4.1 | 0 |
| Maven | io.prometheus.jmx:jmx_prometheus_httpserver | 0.17.0 |
| chainguard | request-1277 | 0 |
| Maven | com.alipay.sofa.acts:acts-common-util | 1.0.0 |
| chainguard | management-api-for-apache-cassandra-4.0 | 0 |
| chainguard | management-api-for-apache-cassandra-5.0 | 0 |
| wolfi | management-api-for-apache-cassandra-4.1 | 0 |
| Maven | pl.droidsonroids.yaml:snakeyaml | 0 |
| wolfi | cassandra-5.0 | * |
| chainguard | cassandra-fips-5.0 | * |
| snakeyaml | SnakeYAML | * |
| wolfi | management-api-for-apache-cassandra-5.0 | 0 |
| Maven | org.yaml:snakeyaml | 0 |
| Maven | io.prometheus.jmx:jmx_prometheus_httpserver_java6 | 0 |
| chainguard | cassandra-5.0 | * |
| Maven | be.cylab:snakeyaml | 1.25.1 |
| Maven | org.testifyproject.external:external-snakeyaml | 0 |
Timeline
- Sep 5, 2022 CVE Published
- Sep 6, 2022 EPSS Score (30 in total, the first dated here)
- Mar 15, 2024 CVE Updated
- Mar 17, 2026 Security Advisory (54 in total, the first dated here)
- Jun 18, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (49 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-38749
vulnetix vdb fixes CVE-2022-38749
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-38749/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart