CVE-2022-42920
Apache Commons BCEL vulnerable to out-of-bounds write
9.8
CRITICAL
CVSS 3.1
EPSS 2.8%
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.
How to fix CVE-2022-42920
To remediate CVE-2022-42920, upgrade the affected package to a fixed version below.
- —upgrade to 6.5.0-1+deb11u1 or later
- —upgrade to 6.6.0 or later
Is CVE-2022-42920 being exploited?
Low — EPSS is 2.8%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 6.5.0-1+deb11u1
- from 0, < 6.6.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |