MODERATE 6.5

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)

ArtifactAffected versionsFixed in
org.yaml » snakeyaml
< 1.32
1.32

Blast radius

1affected artifacts
57affected versions
84,128dependent artifacts (est.)
3,254,395dependent versions

63% of the dependent artifacts (53,652) still pull an affected version in their latest release.

DepthDependent 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

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.