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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.bcel » bcel | < 6.6.0 | 6.6.0 |
Blast radius
53% of the dependent artifacts (818) still pull an affected version in their latest release.
| Depth | Dependent 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
- com.github.spotbugs » spotbugs-maven-plugin3,264 usages
- org.apache.maven.plugins » maven-project-info-reports-plugin1,458 usages
- org.codehaus.mojo » gwt-maven-plugin1,170 usages
- org.codehaus.mojo » clirr-maven-plugin761 usages
- com.vaadin » vaadin-maven-plugin600 usages
- de.flapdoodle.embed » de.flapdoodle.embed.mongo572 usages
- com.github.spotbugs » spotbugs524 usages
- com.lihaoyi » mill-scalalib320 usages
- org.jibx » jibx-maven-plugin318 usages
- org.jasig.maven » maven-notice-plugin297 usages
- com.lihaoyi » mill-main215 usages
- com.powsybl » powsybl-iidm-impl212 usages
- org.openrewrite » rewrite-java207 usages
- org.codehaus.mojo » native-maven-plugin205 usages
- guru.nidi » graphviz-java180 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.
