{"api_version":"1","generated_at":"2026-04-22T23:23:52+00:00","cve":"CVE-2022-42920","urls":{"html":"https://cve.report/CVE-2022-42920","api":"https://cve.report/api/cve/CVE-2022-42920.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-42920","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-42920"},"summary":{"title":"CVE-2022-42920","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.","state":"PUBLIC","assigner":"security@apache.org","published_at":"2022-11-07 13:15:00","updated_at":"2024-01-17 15:15:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4/","name":"FEDORA-2022-01a56f581c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: bcel-6.5.0-3.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCD/","name":"FEDORA-2022-f60a52e054","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: bcel-6.4.1-10.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQ/","name":"FEDORA-2022-0e358addb8","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: bcel-6.4.1-10.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202401-25","name":"GLSA-202401-25","refsource":"","tags":[],"title":"OpenJDK: Multiple Vulnerabilities (GLSA 202401-25) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.apache.org/thread/lfxk7q8qmnh5bt9jm6nmjlv5hsxjhrz4","name":"https://lists.apache.org/thread/lfxk7q8qmnh5bt9jm6nmjlv5hsxjhrz4","refsource":"MISC","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCD/","name":"FEDORA-2022-f60a52e054","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: bcel-6.4.1-10.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/11/07/2","name":"[oss-security] 20221107 Re: CVE-2022-42920: Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE-2022-42920: Apache Commons BCEL prior to\n 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQ/","name":"FEDORA-2022-0e358addb8","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: bcel-6.4.1-10.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4/","name":"FEDORA-2022-01a56f581c","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: bcel-6.5.0-3.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-42920","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42920","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Reported by Felix Wilhelm (Google); GitHub pull request to Apache Commons BCEL #147 by Richard Atkins (https://github.com/rjatkins); PR derived from OpenJDK (https://github.com/openjdk/jdk11u/) commit 13bf52c8d876528a43be7cb77a1f452d29a21492 by Aleksei Voitylov and RealCLanger (Christoph Langer https://github.com/RealCLanger)","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"42920","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"commons_bcel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"42920","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"42920","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"42920","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-42920","qid":"150735","title":"Oracle WebLogic Server Multiple Vulnerabilities (CPU - OCT2023)"},{"cve":"CVE-2022-42920","qid":"160356","title":"Oracle Enterprise Linux Security Update for bcel (ELSA-2022-8958)"},{"cve":"CVE-2022-42920","qid":"160366","title":"Oracle Enterprise Linux Security Update for bcel (ELSA-2023-0005)"},{"cve":"CVE-2022-42920","qid":"181194","title":"Debian Security Update for bcel (CVE-2022-42920)"},{"cve":"CVE-2022-42920","qid":"241005","title":"Red Hat Update for rh-maven36-bcel (RHSA-2022:8959)"},{"cve":"CVE-2022-42920","qid":"241010","title":"Red Hat Update for bcel (RHSA-2022:8958)"},{"cve":"CVE-2022-42920","qid":"241031","title":"Red Hat Update for bcel (RHSA-2023:0004)"},{"cve":"CVE-2022-42920","qid":"241032","title":"Red Hat Update for bcel (RHSA-2023:0005)"},{"cve":"CVE-2022-42920","qid":"257240","title":"CentOS Security Update for bcel (CESA-2022:8958)"},{"cve":"CVE-2022-42920","qid":"283507","title":"Fedora Security Update for bcel (FEDORA-2022-01a56f581c)"},{"cve":"CVE-2022-42920","qid":"283508","title":"Fedora Security Update for bcel (FEDORA-2022-0e358addb8)"},{"cve":"CVE-2022-42920","qid":"283509","title":"Fedora Security Update for bcel (FEDORA-2022-f60a52e054)"},{"cve":"CVE-2022-42920","qid":"354663","title":"Amazon Linux Security Advisory for bcel : ALAS2-2023-1916"},{"cve":"CVE-2022-42920","qid":"354674","title":"Amazon Linux Security Advisory for bcel : ALAS-2023-1668"},{"cve":"CVE-2022-42920","qid":"354702","title":"Amazon Linux Security Advisory for bcel : ALAS2022-2023-275"},{"cve":"CVE-2022-42920","qid":"355196","title":"Amazon Linux Security Advisory for bcel : ALAS2023-2023-105"},{"cve":"CVE-2022-42920","qid":"672579","title":"EulerOS Security Update for bcel (EulerOS-SA-2023-1307)"},{"cve":"CVE-2022-42920","qid":"673088","title":"EulerOS Security Update for bcel (EulerOS-SA-2023-2137)"},{"cve":"CVE-2022-42920","qid":"710843","title":"Gentoo Linux Open Java Development Toolkit (OpenJDK) Multiple Vulnerabilities (GLSA 202401-25)"},{"cve":"CVE-2022-42920","qid":"752973","title":"SUSE Enterprise Linux Security Update for bcel (SUSE-SU-2022:4331-1)"},{"cve":"CVE-2022-42920","qid":"752977","title":"SUSE Enterprise Linux Security Update for bcel (SUSE-SU-2022:4306-1)"},{"cve":"CVE-2022-42920","qid":"87530","title":"Oracle WebLogic Server Multiple Vulnerabilities (CPUJAN2023)"},{"cve":"CVE-2022-42920","qid":"87548","title":"Oracle WebLogic Server Multiple Vulnerabilities (CPUOCT2023)"},{"cve":"CVE-2022-42920","qid":"940864","title":"AlmaLinux Security Update for bcel (ALSA-2023:0005)"},{"cve":"CVE-2022-42920","qid":"960494","title":"Rocky Linux Security Update for bcel (RLSA-2023:0005)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2022-42920","STATE":"PUBLIC","TITLE":"Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Commons BCEL","version":{"version_data":[{"version_affected":"<","version_name":"Apache Commons BCEL","version_value":"6.6.0"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Reported by Felix Wilhelm (Google); GitHub pull request to Apache Commons BCEL #147 by Richard Atkins (https://github.com/rjatkins); PR derived from OpenJDK (https://github.com/openjdk/jdk11u/) commit 13bf52c8d876528a43be7cb77a1f452d29a21492 by Aleksei Voitylov and RealCLanger (Christoph Langer https://github.com/RealCLanger)"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[[]],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-787 Out-of-bounds Write"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://lists.apache.org/thread/lfxk7q8qmnh5bt9jm6nmjlv5hsxjhrz4","name":"https://lists.apache.org/thread/lfxk7q8qmnh5bt9jm6nmjlv5hsxjhrz4"},{"refsource":"MLIST","name":"[oss-security] 20221107 Re: CVE-2022-42920: Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing","url":"http://www.openwall.com/lists/oss-security/2022/11/07/2"},{"refsource":"FEDORA","name":"FEDORA-2022-01a56f581c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4/"},{"refsource":"FEDORA","name":"FEDORA-2022-0e358addb8","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQ/"},{"refsource":"FEDORA","name":"FEDORA-2022-f60a52e054","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCD/"}]},"source":{"defect":["BCEL-363"],"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-11-07 13:15:00","lastModifiedDate":"2024-01-17 15:15:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:apache:commons_bcel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}