CVE-2022-42920

Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing

State
Published
Severity
Not scored
Published
Nov 7, 2022
Updated
Aug 3, 2024
Reserved
Oct 14, 2022

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

Affected Products

ProductVersions
Apache Commons BCELApache Software Foundation
  • Apache Commons BCEL to before 6.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.