Amazon Linux 2023 : apr, apr-devel (ALAS2023-2023-016)

critical Nessus Plugin ID 173154

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2023-016 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_encode functions of Apache Portable Runtime (APR) allows an attacker to write beyond bounds of a buffer. This issue affects Apache Portable Runtime (APR) version 1.7.0. (CVE-2022-24963)

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

Solution

Run 'dnf update apr --releasever=2023.0.20230222 ' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-016.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: 173154

File Name: al2023_ALAS2023-2023-016.nasl

Version: 1.0

Type: local

Agent: unix

Published: 3/21/2023

Updated: 3/21/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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, p-cpe:/a:amazon:linux:apr-debuginfo, p-cpe:/a:amazon:linux:apr-debugsource, p-cpe:/a:amazon:linux:apr-devel, cpe:/o:amazon:linux:2023

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/17/2023

Vulnerability Publication Date: 8/23/2021

Reference Information

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