CRITICAL 9.8

CVE-2022-42920

Apache Commons BCEL vulnerable to out-of-bounds write

Description

Apache Commons BCEL has a number of APIs that would normally only allow changing specific class characteristics. However, due to an out-of-bounds writing issue, these APIs can be used to produce arbitrary bytecode. This could be abused in applications that pass attacker-controllable data to those APIs, giving the attacker more control over the resulting bytecode than otherwise expected. Update to Apache Commons BCEL 6.6.0.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.bcel » bcel
< 6.6.0
6.6.0

Blast radius

1affected artifacts
16affected versions
1,516dependent artifacts (est.)
26,121dependent versions

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

DepthDependent versions
Direct
2,266
2 hops
5,283
3 hops
3,678
4 hops
6,381
5 hops
4,693
6 hops
3,820

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.