Alpine: multiple c-ares packages: security update to 1.34.5-r0

high Tenable Cloud Security Plugin ID 424817

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- c-ares is an asynchronous resolver library. From 1.32.3 through 1.34.4, there is a use-after-free in
read_answers() when process_answer() may re-enqueue a query either due to a DNS Cookie Failure or when the
upstream server does not properly support EDNS, or possibly on TCP queries if the remote closed the
connection immediately after a response. If there was an issue trying to put that new transaction on the
wire, it would close the connection handle, but read_answers() was still expecting the connection handle
to be available to possibly dequeue other responses. In theory a remote attacker might be able to trigger
this by flooding the target with ICMP UNREACHABLE packets if they also control the upstream nameserver and
can return a result with one of those conditions, this has been untested. Otherwise only a local attacker
might be able to change system behavior to make send()/write() return a failure condition. This
vulnerability is fixed in 1.34.5. (CVE-2025-31498)

See Also

https://security.alpinelinux.org/vuln/CVE-2025-31498

Plugin Details

Severity: High

ID: 424817

Version: Revision 1.12

Type: Local

Published: 4/10/2025

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Percentile: 96.67

CVSS v2

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 4.9

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

CVSS Score Source: CVE-2025-31498

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.1

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

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

CVSS v4

Risk Factor: High

Base Score: 8.3

Threat Score: 4.9

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 4/8/2025

Reference Information

CVE: CVE-2025-31498

IAVA: 2025-A-0250