Important: bcel security update

bcel Updated 02 Oct 2025

Summary

02/01/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:0005: Important: bcel security update. Affects bcel versions < 6.4.1-9.el9_1. Fixed in 6.4.1-9.el9_1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Byte Code Engineering Library (Apache Commons BCEL) is a library that allows users to analyze, create, and manipulate Java class files (.class). It provides a convenient way to work with binary Java class files. The library is widely used in various Java applications and frameworks.

The vulnerability affects the 'bcel' package in AlmaLinux 9. The package version 6.4.1-9.el9_1 and earlier are impacted.

Vulnerability Detail

The vulnerability identified as CVE-2022-42920 in Apache Commons BCEL allows for the creation of arbitrary bytecode through out-of-bounds writing. An attacker can exploit this vulnerability to execute arbitrary code or perform other malicious activities. The impact of this vulnerability can be severe, potentially leading to remote code execution or unauthorized access to sensitive information.

How To Fix

Minimum fixed version

6.4.1-9.el9_1

This is the first release that contains the fix.

sudo dnf update bcel

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The 'bcel' package in AlmaLinux 9 is affected by a critical security vulnerability (CVE-2022-42920) in Apache Commons BCEL. To mitigate the risk, it is crucial to update the package to version 6.4.1-9.el9_1 or later. Failure to address this vulnerability may result in the execution of arbitrary code or unauthorized access to sensitive information. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for bcel →

Share this vulnerability

FAQ

Apache Commons BCEL is a library for analyzing, creating, and manipulating Java class files. It is widely used in Java applications and frameworks.

The vulnerability allows for the creation of arbitrary bytecode, which can be exploited by attackers to execute arbitrary code or gain unauthorized access to sensitive information.

To fix this vulnerability, update the 'bcel' package to version 6.4.1-9.el9_1 or later using the package manager of AlmaLinux 9.

No specific workarounds have been mentioned for this vulnerability. It is recommended to apply the security update as soon as possible.

You can refer to the CVE page for CVE-2022-42920 for more details about this vulnerability, including its impact and any additional information.

Related vulnerabilities

Recent vulnerabilities recorded for bcel.

How To Fix

Minimum fixed version

6.4.1-9.el9_1

This is the first release that contains the fix.

sudo dnf update bcel

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback