CVE-2022-42920

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

Vendor Apache Software Foundation
Product Apache Commons BCEL
Weakness CWE-787
Published November 7, 2022
Last update August 3, 2024

CVSS base score

What the vulnerability does

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.

Key dates

Disclosure timeline

November 7, 2022 CVE published
August 3, 2024 Record updated