CVE-2025-31498

CVE Details

Release Date:2025-04-08
Impact:Moderate What is this?

Description


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.

See more information about CVE-2025-31498 from MITRE CVE dictionary and NIST NVD


NOTE: The following CVSS metrics and score provided are preliminary and subject to review.


CVSS v3 metrics

Base Score: 7.0
Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
Version: 3.1
Attack Vector: Network
Attack Complexity: High
Privileges Required: None
User Interaction: None
Scope: Unchanged
Confidentiality Impact: Low
Integrity Impact: Low
Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 8 (nodejs) ELSA-2025-44592025-05-05
Oracle Linux version 8 (nodejs) ELSA-2025-44612025-05-05
Oracle Linux version 8 (nodejs-nodemon) ELSA-2025-44592025-05-05
Oracle Linux version 8 (nodejs-nodemon) ELSA-2025-44612025-05-05
Oracle Linux version 8 (nodejs-packaging) ELSA-2025-44592025-05-05
Oracle Linux version 8 (nodejs-packaging) ELSA-2025-44612025-05-05
Oracle Linux version 9 (nodejs) ELSA-2025-74262025-05-21
Oracle Linux version 9 (nodejs) ELSA-2025-74332025-05-22
Oracle Linux version 9 (nodejs-nodemon) ELSA-2025-74262025-05-21
Oracle Linux version 9 (nodejs-nodemon) ELSA-2025-74332025-05-22
Oracle Linux version 9 (nodejs-packaging) ELSA-2025-74262025-05-21
Oracle Linux version 9 (nodejs-packaging) ELSA-2025-74332025-05-22


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete