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
EPSS: 0.028 (85.2th percentile) — read the EPSS interpretation.
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.
Affected products
- Apache Commons_bcel
- Apache Software Foundation Commons Bcel — versions Apache Commons BCEL
- Fedoraproject Fedora — versions 35, 36, 37
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@apache.org (Mailing List, Vendor Advisory)
- security@apache.org (mailing-list, Mailing List, Third Party Advisory)
- security@apache.org (vendor-advisory)
- security@apache.org (vendor-advisory)
- security@apache.org (vendor-advisory)
- security@apache.org (vendor-advisory)
Frequently asked questions
- What is CVE-2022-42920?
- CVE-2022-42920 is a critical-severity vulnerability in Apache Commons Bcel, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2022-11-07.
- How severe is CVE-2022-42920?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-42920 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.