Advisory

UBUNTU-CVE-2022-42920

Also known as: CVE-2022-42920

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-11-07 13:15 UTC
Modified
2026-02-04 02:17 UTC

Affected packages and fixes

bcel

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 6.5.0-1ubuntu0.1 (ecosystem)

Fixed versions

6.5.0-1ubuntu0.1

Fix

  • Fixed version 6.5.0-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences