Name | CVE-2022-42920 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
bcel (PTS) | jessie, jessie (lts) | 6.0~rc3-1+deb8u1 | fixed |
| stretch (lts), stretch | 6.0-1+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 6.2-1+deb10u1 | fixed |
| bullseye (security), bullseye | 6.5.0-1+deb11u1 | fixed |
| bookworm | 6.5.0-2 | fixed |
| trixie, sid | 6.10.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
bcel | source | jessie | 6.0~rc3-1+deb8u1 | | | |
bcel | source | stretch | 6.0-1+deb9u1 | | | |
bcel | source | buster | 6.2-1+deb10u1 | | | |
bcel | source | bullseye | 6.5.0-1+deb11u1 | | | |
bcel | source | (unstable) | 6.5.0-2 | | | |
Notes
https://www.openwall.com/lists/oss-security/2022/11/04/6
https://www.openwall.com/lists/oss-security/2022/11/04/8
https://github.com/apache/commons-bcel/pull/147
https://github.com/apache/commons-bcel/commit/f3267cbcc900f80851d561bdd16b239d936947f5
Duplicate of CVE-2022-34169. But CVE-2022-34169 was assigned for Apache Xalan Java XSLT library,
whereeas CVE-2022-42920 is associated with bcel itself.