CVE-2022-41854
Snakeyaml vulnerable to Stack overflow leading to denial of service
Description
Those 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 stack overflow. This effect may support a denial of service attack.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.yaml » snakeyaml | < 1.32 | 1.32 |
Blast radius
63% of the dependent artifacts (53,652) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 135,814 |
| 2 hops | 862,961 |
| 3 hops | 1,034,365 |
| 4 hops | 696,286 |
| 5 hops | 349,906 |
| 6 hops | 175,063 |
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-41854
- Packagehttps://bitbucket.org/snakeyaml/snakeyaml
- Webhttps://bitbucket.org/snakeyaml/snakeyaml/commits/e230a1758842beec93d28eddfde568c21774780a
- Webhttps://bitbucket.org/snakeyaml/snakeyaml/issues/531
- Webhttps://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50355
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DDXEXXWAZGF5AVHIPGFPXIWL6TSMKJE
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MKE4XWRXTH32757H7QJU4ACS67DYDCR
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSPAJ5Y45A4ZDION2KN5RDWLHK4XKY2J
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DDXEXXWAZGF5AVHIPGFPXIWL6TSMKJE
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7MKE4XWRXTH32757H7QJU4ACS67DYDCR
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSPAJ5Y45A4ZDION2KN5RDWLHK4XKY2J
- Webhttps://security.netapp.com/advisory/ntap-20240315-0009
- Webhttps://security.netapp.com/advisory/ntap-20240621-0006
