CRITICAL 10.0

CVE-2020-1953

Remote code execution in Apache Commons Configuration

Description

Apache Commons Configuration uses a third-party library to parse YAML files which by default allows the instantiation of classes if the YAML includes special statements. Apache Commons Configuration versions 2.2, 2.3, 2.4, 2.5, 2.6 did not change the default settings of this library. So if a YAML file was loaded from an untrusted source, it could therefore load and execute code out of the control of the host application.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.commons » commons-configuration2
>= 2.2, < 2.7
2.7

Blast radius

1affected artifacts
7affected versions
2,382dependent artifacts (est.)
63,681dependent versions

21% of the dependent artifacts (518) still pull an affected version in their latest release.

DepthDependent versions
Direct
13,325
2 hops
16,570
3 hops
19,596
4 hops
9,149
5 hops
3,922
6 hops
1,119

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.