CWE
787
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2022-42920: Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing

First published: Fri Nov 04 2022(Updated: )

An out-of-bounds (OOB) write flaw was found in Apache Commons BCEL API. This flaw can be used to produce arbitrary bytecode and may abuse applications that pass attacker-controlled data to those APIs, giving the attacker more control over the resulting bytecode than otherwise expected.

Credit: security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
redhat/bcel<0:5.2-19.el7_9
0:5.2-19.el7_9
redhat/bcel<0:6.4.1-9.el9_1
0:6.4.1-9.el9_1
redhat/bcel<0:6.4.1-9.el9_0
0:6.4.1-9.el9_0
redhat/rh-maven36-bcel<0:6.3.1-2.3.el7
0:6.3.1-2.3.el7
Apache Commons BCEL<6.6.0
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37
redhat/Apache Commons BCEL<6.6.0
6.6.0
maven/org.apache.bcel:bcel<6.6.0
6.6.0
<6.6.0
=35
=36
=37

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2022-42920?

    CVE-2022-42920 is an out-of-bounds (OOB) write flaw found in Apache Commons BCEL API.

  • How can CVE-2022-42920 be exploited?

    CVE-2022-42920 can be exploited by passing attacker-controllable data to the affected APIs in Apache Commons BCEL.

  • What is the severity of CVE-2022-42920?

    CVE-2022-42920 has a severity rating of 9.8 out of 10, which is classified as critical.

  • Which software versions are affected by CVE-2022-42920?

    Apache Commons BCEL versions up to exclusive 6.6.0, bcel versions up to exclusive 0:5.2-19.el7_9, bcel versions up to exclusive 0:6.4.1-9.el9_1, bcel versions up to exclusive 0:6.4.1-9.el9_0, and rh-maven36-bcel versions up to exclusive 0:6.3.1-2.3.el7 are affected by CVE-2022-42920.

  • How do I mitigate CVE-2022-42920?

    To mitigate CVE-2022-42920, it is recommended to update to Apache Commons BCEL version 6.6.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203