Amazon Linux AMI : bcel (ALAS-2023-1668)

critical Nessus Plugin ID 170539

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

The version of bcel installed on the remote host is prior to 5.2-7.2.10. It is, therefore, affected by a vulnerability as referenced in the ALAS-2023-1668 advisory.

- 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. (CVE-2022-42920)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update bcel' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2023-1668.html

https://alas.aws.amazon.com/cve/html/CVE-2022-42920.html

Plugin Details

Severity: Critical

ID: 170539

File Name: ala_ALAS-2023-1668.nasl

Version: 1.0

Type: local

Agent: unix

Published: 1/24/2023

Updated: 1/24/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-42920

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:bcel-javadoc, p-cpe:/a:amazon:linux:bcel-manual, p-cpe:/a:amazon:linux:bcel, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 1/18/2023

Vulnerability Publication Date: 11/7/2022

Reference Information

CVE: CVE-2022-42920