Buffer overflow in Apache Commons Bcel

CVE-2022-42920

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.035, 89.4th percentile (last changed ); up from 0.028 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-42920: rose from 0.028 to 0.035.

EPSS over last 30 days · oldest: 0.028 · newest: 0.035 · change: +0.007

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (ARPSyndicate/cvemon, binkley/modern-java-practices). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References