CVE-2022-42920

NameCVE-2022-42920
DescriptionApache 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.
SourceCVE (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 PackageReleaseVersionStatus
bcel (PTS)jessie, jessie (lts)6.0~rc3-1+deb8u1fixed
stretch (lts), stretch6.0-1+deb9u1fixed
buster (security), buster, buster (lts)6.2-1+deb10u1fixed
bullseye (security), bullseye6.5.0-1+deb11u1fixed
bookworm6.5.0-2fixed
sid, trixie6.10.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bcelsourcejessie6.0~rc3-1+deb8u1
bcelsourcestretch6.0-1+deb9u1
bcelsourcebuster6.2-1+deb10u1
bcelsourcebullseye6.5.0-1+deb11u1
bcelsource(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.

Search for package or bug name: Reporting problems