CVE-2022-42920: Apache Commons BCEL - Insecure Deserialization
- Cve: CVE-2022-42920
- Name: Apache Commons BCEL - Insecure Deserialization
- 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.
- Impact: Attackers can generate arbitrary bytecode, potentially leading to remote code execution or system compromise.
- Remediation: Update to Apache Commons BCEL 6.6.0.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03501
- Epss percentile: 0.89461
- Assignee: [email protected]
- Published at: 2022-11-07T13:15:10Z
- Age in days: 1478
- Modified at: 2026-06-17T05:05:35Z
- Patch available: yes
- References total: 6
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-42920
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:commons_bcel | < 6.6.0 | no | nvd | /v1/products/apache/commons_bcel |
| fedoraproject:fedora | = 37, = 36, = 35 | no | nvd | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/commons-bcel | package, pull | yes | /v1/repositories/apache/commons-bcel |
Index
- Repositories: 10
- Repositories high signal: 9
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 49161
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports