Release Date: | 2025-04-08 | |
Impact: | Moderate | What is this? |
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.
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 |
Platform | Errata | Release Date |
Oracle Linux version 8 (nodejs) | ELSA-2025-4459 | 2025-05-05 |
Oracle Linux version 8 (nodejs) | ELSA-2025-4461 | 2025-05-05 |
Oracle Linux version 8 (nodejs-nodemon) | ELSA-2025-4459 | 2025-05-05 |
Oracle Linux version 8 (nodejs-nodemon) | ELSA-2025-4461 | 2025-05-05 |
Oracle Linux version 8 (nodejs-packaging) | ELSA-2025-4459 | 2025-05-05 |
Oracle Linux version 8 (nodejs-packaging) | ELSA-2025-4461 | 2025-05-05 |
Oracle Linux version 9 (nodejs) | ELSA-2025-7426 | 2025-05-21 |
Oracle Linux version 9 (nodejs) | ELSA-2025-7433 | 2025-05-22 |
Oracle Linux version 9 (nodejs-nodemon) | ELSA-2025-7426 | 2025-05-21 |
Oracle Linux version 9 (nodejs-nodemon) | ELSA-2025-7433 | 2025-05-22 |
Oracle Linux version 9 (nodejs-packaging) | ELSA-2025-7426 | 2025-05-21 |
Oracle Linux version 9 (nodejs-packaging) | ELSA-2025-7433 | 2025-05-22 |
This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections: