Ubuntu CVE Tracker
UBUNTU-CVE-2022-42920
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | bcel | All versions before 6.0~rc3-2ubuntu1+esm1 (fixed in 6.0~rc3-2ubuntu1+esm1) |
| Ubuntu:Pro:18.04:LTS | bcel | All versions before 6.2-1ubuntu0.1~esm1 (fixed in 6.2-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | bcel | All versions before 6.4.1-1ubuntu0.1~esm1 (fixed in 6.4.1-1ubuntu0.1~esm1) |
| Ubuntu:22.04:LTS | bcel | All versions before 6.5.0-1ubuntu0.1 (fixed in 6.5.0-1ubuntu0.1) |
References
- https://ubuntu.com/security/CVE-2022-42920
- 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
- https://lists.apache.org/thread/lfxk7q8qmnh5bt9jm6nmjlv5hsxjhrz4
- https://www.cve.org/CVERecord?id=CVE-2022-42920
- https://ubuntu.com/security/notices/USN-7208-1