Amazon Linux 2 : apr, apr-devel (ALAS-2023-1936)

critical Nessus Plugin ID 171468

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-1936 advisory.

An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue. (CVE-2021-35940)

Integer Overflow or Wraparound vulnerability in apr_base64 functions of Apache Portable Runtime Utility (APR-util) allows an attacker to write beyond bounds of a buffer. This issue affects Apache Portable Runtime Utility (APR-util) 1.6.1 and prior versions. (CVE-2022-24963)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

pkg_manager = 'yum'Run ' update apr' to update your system.

See Also

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

https://alas.aws.amazon.com/cve/html/CVE-2021-35940.html

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

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

Plugin Details

Severity: Critical

ID: 171468

File Name: al2_ALAS-2023-1936.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/14/2023

Updated: 12/11/2024

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: Low

Base Score: 3.6

Temporal Score: 2.7

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

CVSS Score Source: CVE-2021-35940

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

CVSS Score Source: CVE-2022-24963

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:apr-devel, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:apr-debuginfo, p-cpe:/a:amazon:linux:apr

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/13/2023

Vulnerability Publication Date: 8/23/2021

Reference Information

CVE: CVE-2021-35940, CVE-2022-24963