CVE details
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.
Affected ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| java/apache-bcel | apache-bcel | 6.4.1_2 | unaddressed | java@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>apache-bcel</name>
<range><lt>6.6.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2022-42920</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2022-42920</url>
</references>
<dates>
<discovery>2022-11-07</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>