Amazon Linux 2023 : bouncycastle, bouncycastle-javadoc, bouncycastle-mail (ALAS2023-2024-479)

medium Nessus Plugin ID 187698

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2024-479 advisory.

- Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue within the Bouncy Castle org.bouncycastle.openssl.PEMParser class. This class parses OpenSSL PEM encoded streams containing X.509 certificates, PKCS8 encoded keys, and PKCS7 objects. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError, which can enable a denial of service attack. (For users of the FIPS Java API: BC-FJA 1.0.2.3 and earlier are affected; BC-FJA 1.0.2.4 is fixed.) (CVE-2023-33202)

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

Solution

Run 'dnf update bouncycastle --releasever 2023.3.20240108' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2024-479.html

https://alas.aws.amazon.com/cve/html/CVE-2023-33202.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 187698

File Name: al2023_ALAS2023-2024-479.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/8/2024

Updated: 1/9/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.8

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

CVSS Score Source: CVE-2023-33202

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:bouncycastle-javadoc, p-cpe:/a:amazon:linux:bouncycastle-pg, p-cpe:/a:amazon:linux:bouncycastle-tls, p-cpe:/a:amazon:linux:bouncycastle-pkix, p-cpe:/a:amazon:linux:bouncycastle, p-cpe:/a:amazon:linux:bouncycastle-util, p-cpe:/a:amazon:linux:bouncycastle-mail, cpe:/o:amazon:linux:2023

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/3/2024

Vulnerability Publication Date: 11/23/2023

Reference Information

CVE: CVE-2023-33202