GitHub Advisoryadvisory · Maven
GHSA-97xg-phpr-rg8q Apache Commons BCEL vulnerable to out-of-bounds write
CRITICAL
Official page ↗
- Aliases
- CVE-2022-42920
- Ecosystem
- Maven
- Packages
- org.apache.bcel:bcel
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-787
- Reviewed
- 2022-11-07
Affected packages
• Maven org.apache.bcel:bcel: < 6.6.0 → fixed in 6.6.0
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.
Related
Alias · CVE (1)
- CVE-2022-42920 Apache Commons BCEL has a number of APIs that would normally only allow changing specific class characteristics. vulnerability
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-42920 advisory
- https://github.com/apache/commons-bcel/pull/147 web
- https://github.com/apache/commons-bcel package
- https://issues.apache.org/jira/browse/BCEL-363 web
- https://lists.apache.org/thread/lfxk7q8qmnh5bt9jm6nmjlv5hsxjhrz4 web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4 web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCD web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCD web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQ web
- https://security.gentoo.org/glsa/202401-25 web
- http://www.openwall.com/lists/oss-security/2022/11/07/2 web