c-ares has a use-after-free in read_answers()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| c-ares | c-ares | affected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | |||
| nodejs22-1:22.15.0-1.el10_0 | cpe:/o:redhat:enterprise_linux:10.0 | RHSA-2025:7502 | 2025-05-13T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| nodejs:22-8100020250429143334.6d880403 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:4459 | 2025-05-05T00:00:00Z |
| nodejs:20-8100020250425153222.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:4461 | 2025-05-05T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| nodejs:20-9060020250425155626.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:7426 | 2025-05-13T00:00:00Z |
| nodejs:22-9060020250428105352.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:7433 | 2025-05-13T00:00:00Z |
| Red Hat Enterprise Linux 9.4 Extended Update Support | |||
| nodejs:20-9040020250506133952.rhel9 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:7537 | 2025-05-14T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-10377 | 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. |
Ubuntu USN |
USN-7477-1 | c-ares vulnerability |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.602% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Eus
|
|
| CPEs | cpe:/a:redhat:rhel_eus:9.4 | |
| Vendors & Products |
Redhat rhel Eus
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:9 cpe:/o:redhat:enterprise_linux:10.0 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/a:redhat:enterprise_linux:8 | |
| Vendors & Products |
Redhat
Redhat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | c-ares has a use-after-free in read_answers() | |
| Weaknesses | CWE-416 | |
| References |
| |
| Metrics |
cvssV4_0
|