HIGH 7.5
CVE-2022-25857
Uncontrolled Resource Consumption in snakeyaml
Description
The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.yaml » snakeyaml | < 1.31 | 1.31 |
Blast radius
1affected artifacts
55affected versions
83,378dependent artifacts (est.)
3,199,736dependent versions
63% of the dependent artifacts (53,235) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 133,127 |
| 2 hops | 837,177 |
| 3 hops | 1,020,803 |
| 4 hops | 687,499 |
| 5 hops | 346,354 |
| 6 hops | 174,776 |
Most used dependents
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-autoconfigure15,709 usages
- org.testng » testng13,317 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- com.fasterxml.jackson.dataformat » jackson-dataformat-yaml6,005 usages
- org.codehaus.groovy » groovy-all5,349 usages
- me.carleslc » Simple-Yaml4,737 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.springframework.boot » spring-boot-starter-aop4,662 usages
- org.springframework.boot » spring-boot-starter-data-jpa4,154 usages
- org.springframework.boot » spring-boot-starter-security3,606 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-25857
- Webhttps://github.com/snakeyaml/snakeyaml/commit/fc300780da21f4bb92c148bc90257201220cf174
- Webhttps://bitbucket.org/snakeyaml/snakeyaml/commits/fc300780da21f4bb92c148bc90257201220cf174
- Webhttps://bitbucket.org/snakeyaml/snakeyaml/issues/525
- Packagehttps://github.com/snakeyaml/snakeyaml
- Webhttps://lists.debian.org/debian-lts-announce/2022/10/msg00001.html
- Webhttps://security.netapp.com/advisory/ntap-20240315-0010
- Webhttps://security.snyk.io/vuln/SNYK-JAVA-ORGYAML-2806360
