Amazon Linux 2023 : captree, libcap, libcap-devel (ALAS2023-2025-1279)

high Nessus Plugin ID 274692

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-2025-1279 advisory.

archive/tar: unbounded allocation when parsing GNU sparse map

tar.Reader did not set a maximum size on the number of sparse region data blocks in GNU tar pax 1.0 sparse files. A maliciously-crafted archive containing a large number of sparse regions could cause a Reader to read an unbounded amount of data from the archive into memory. When reading from a compressed source, a small compressed input could result in large allocations. (CVE-2025-58183)

encoding/asn1: pre-allocating memory when parsing DER payload can cause memory exhaustion

When parsing DER payloads, memories were being allocated prior to fully validating the payloads.This permits an attacker to craft a big empty DER payload to cause memory exhaustion in functions such as asn1.Unmarshal, x509.ParseCertificateRequest, and ocsp.ParseResponse. (CVE-2025-58185)

net/http: lack of limit when parsing cookies can cause memory exhaustion

Despite HTTP headers having a default limit of 1 MB, the number of cookies that can be parsed did not have a limit.By sending a lot of very small cookies such as a=;, an attacker can make an HTTP server allocate a large amount of structs, causing large memory consumption.

net/http now limits the number of cookies accepted to 3000, which can be adjusted using the httpcookiemaxnum GODEBUG option. (CVE-2025-58186)

crypto/x509: panic when validating certificates with DSA public keys

Validating certificate chains which contain DSA public keys can cause programsto panic, due to a interface cast that assumes they implement the Equal method.

This affects programs which validate arbitrary certificate chains. (CVE-2025-58188)

encoding/pem: quadratic complexity when parsing some invalid inputs

Due to the design of the PEM parsing function, the processing time for someinputs scales non-linearly with respect to the size of the input.

This affects programs which parse untrusted PEM inputs. (CVE-2025-61723)

net/mail: excessive CPU consumption in ParseAddress

The ParseAddress function constructed domain-literal address components through repeated string concatenation. When parsing large domain-literal components, this could cause excessive CPU consumption.
(CVE-2025-61725)

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

Run 'dnf update libcap --releasever 2023.9.20251110' or or 'dnf update --advisory ALAS2023-2025-1279 --releasever 2023.9.20251110' to update your system.

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2025-1279.html

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

https://explore.alas.aws.amazon.com/CVE-2025-58183.html

https://explore.alas.aws.amazon.com/CVE-2025-58185.html

https://explore.alas.aws.amazon.com/CVE-2025-58186.html

https://explore.alas.aws.amazon.com/CVE-2025-58188.html

https://explore.alas.aws.amazon.com/CVE-2025-61723.html

https://explore.alas.aws.amazon.com/CVE-2025-61725.html

Plugin Details

Severity: High

ID: 274692

File Name: al2023_ALAS2023-2025-1279.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/11/2025

Updated: 11/11/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2025-61725

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libcap-debugsource, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:libcap, p-cpe:/a:amazon:linux:libcap-devel, p-cpe:/a:amazon:linux:libcap-debuginfo, p-cpe:/a:amazon:linux:libcap-static, p-cpe:/a:amazon:linux:captree-debuginfo, p-cpe:/a:amazon:linux:captree

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/10/2025

Vulnerability Publication Date: 10/23/2025

Reference Information

CVE: CVE-2025-58183, CVE-2025-58185, CVE-2025-58186, CVE-2025-58188, CVE-2025-61723, CVE-2025-61725

IAVB: 2025-B-0177