Debian C-Ares vulnerabilities

14 known vulnerabilities affecting debian/c-ares.

Total CVEs
14
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH4MEDIUM5LOW5

Vulnerabilities

Page 1 of 1
CVE-2025-62408LOWCVSS 5.9fixed in c-ares 1.34.6-1 (forky)2025
CVE-2025-62408 [MEDIUM] CVE-2025-62408: c-ares - c-ares is an asynchronous resolver library. Versions 1.32.3 through 1.34.5 term... c-ares is an asynchronous resolver library. Versions 1.32.3 through 1.34.5 terminate a query after maximum attempts when using read_answer() and process_answer(), which can cause a Denial of Service. This issue is fixed in version 1.34.6. Scope: local bookworm: resolved bullseye: resolved forky: resolved (fixed in 1.34.6-1) sid: resolved (fixed in 1.34.6-1) trixie:
debian
CVE-2025-31498LOWCVSS 8.3fixed in c-ares 1.34.5-1 (forky)2025
CVE-2025-31498 [HIGH] CVE-2025-31498: c-ares - c-ares is an asynchronous resolver library. From 1.32.3 through 1.34.4, there is... 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 issu
debian
CVE-2024-25629MEDIUMCVSS 4.4fixed in c-ares 1.27.0-1 (forky)2024
CVE-2024-25629 [MEDIUM] CVE-2024-25629: c-ares - c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used... c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these configuration files has an embedded `NULL` character as the first character in a new line,
debian
CVE-2023-32067HIGHCVSS 7.5fixed in c-ares 1.18.1-3 (bookworm)2023
CVE-2023-32067 [HIGH] CVE-2023-32067: c-ares - c-ares is an asynchronous resolver library. c-ares is vulnerable to denial of se... c-ares is an asynchronous resolver library. c-ares is vulnerable to denial of service. If a target resolver sends a query, the attacker forges a malformed UDP packet with a length of 0 and returns them to the target resolver. The target resolver erroneously interprets the 0 length as a graceful shutdown of the connection. This issue has been patched in version 1.19.1
debian
CVE-2023-31130MEDIUMCVSS 4.1fixed in c-ares 1.18.1-3 (bookworm)2023
CVE-2023-31130 [MEDIUM] CVE-2023-31130: c-ares - c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable t... c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes which would require an administrator to configure such an address via ares_set_sortlist(). However, users may
debian
CVE-2023-31147LOWCVSS 5.9fixed in c-ares 1.19.1-2 (forky)2023
CVE-2023-31147 [MEDIUM] CVE-2023-31147: c-ares - c-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() ... c-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() are unavailable, c-ares uses rand() to generate random numbers used for DNS query ids. This is not a CSPRNG, and it is also not seeded by srand() so will generate predictable output. Input from the random number generator is fed into a non-compilant RC4 implementation and may not be as
debian
CVE-2023-31124LOWCVSS 3.7fixed in c-ares 1.19.1-2 (forky)2023
CVE-2023-31124 [LOW] CVE-2023-31124: c-ares - c-ares is an asynchronous resolver library. When cross-compiling c-ares and usin... c-ares is an asynchronous resolver library. When cross-compiling c-ares and using the autotools build system, CARES_RANDOM_FILE will not be set, as seen when cross compiling aarch64 android. This will downgrade to using rand() as a fallback which could allow an attacker to take advantage of the lack of entropy by not using a CSPRNG. This issue was patched in version 1
debian
CVE-2022-4904HIGHCVSS 8.6fixed in c-ares 1.18.1-2 (bookworm)2022
CVE-2022-4904 [HIGH] CVE-2022-4904: c-ares - A flaw was found in the c-ares package. The ares_set_sortlist is missing checks ... A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity. Scope: local bookworm: resolved (fixed in 1.18.1-2) bullseye: resolved (fixed in 1.17.1-1+deb11u2)
debian
CVE-2021-3672MEDIUMCVSS 5.6fixed in c-ares 1.17.1-1.1 (bookworm)2021
CVE-2021-3672 [MEDIUM] CVE-2021-3672: c-ares - A flaw was found in c-ares library, where a missing input validation check of ho... A flaw was found in c-ares library, where a missing input validation check of host names returned by DNS (Domain Name Servers) can lead to output of wrong hostnames which might potentially lead to Domain Hijacking. The highest threat from this vulnerability is to confidentiality and integrity as well as system availability. Scope: local bookworm: resolved (fixed in 1
debian
CVE-2020-8277HIGHCVSS 7.5fixed in c-ares 1.17.1-1 (bookworm)2020
CVE-2020-8277 [HIGH] CVE-2020-8277: c-ares - A Node.js application that allows an attacker to trigger a DNS request for a hos... A Node.js application that allows an attacker to trigger a DNS request for a host of their choice could trigger a Denial of Service in versions < 15.2.1, < 14.15.1, and < 12.19.1 by getting the application to resolve a DNS record with a larger number of responses. This is fixed in 15.2.1, 14.15.1, and 12.19.1. Scope: local bookworm: resolved (fixed in 1.17.1-1) bullsey
debian
CVE-2020-22217MEDIUMCVSS 5.9fixed in c-ares 1.17.1-1 (bookworm)2020
CVE-2020-22217 [MEDIUM] CVE-2020-22217: c-ares - Buffer overflow vulnerability in c-ares before 1_16_1 thru 1_17_0 via function a... Buffer overflow vulnerability in c-ares before 1_16_1 thru 1_17_0 via function ares_parse_soa_reply in ares_parse_soa_reply.c. Scope: local bookworm: resolved (fixed in 1.17.1-1) bullseye: resolved (fixed in 1.17.1-1) forky: resolved (fixed in 1.17.1-1) sid: resolved (fixed in 1.17.1-1) trixie: resolved (fixed in 1.17.1-1)
debian
CVE-2020-14354LOWCVSS 3.3fixed in c-ares 1.16.1-1 (bookworm)2020
CVE-2020-14354 [LOW] CVE-2020-14354: c-ares - A possible use-after-free and double-free in c-ares lib version 1.16.0 if ares_d... A possible use-after-free and double-free in c-ares lib version 1.16.0 if ares_destroy() is called prior to ares_getaddrinfo() completing. This flaw possibly allows an attacker to crash the service that uses c-ares lib. The highest threat from this vulnerability is to this service availability. Scope: local bookworm: resolved (fixed in 1.16.1-1) bullseye: resolved (fi
debian
CVE-2017-1000381HIGHCVSS 7.5fixed in c-ares 1.12.0-4 (bookworm)2017
CVE-2017-1000381 [HIGH] CVE-2017-1000381: c-ares - The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR ... The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS response packet was crafted in a particular way. Scope: local bookworm: resolved (fixed in 1.12.0-4) bullseye: resolved (fixed in 1.12.0-4) forky: resolved (fixed in 1.12.0-4) sid: reso
debian
CVE-2016-5180MEDIUMCVSS 9.8fixed in c-ares 1.12.0-1 (bookworm)2016
CVE-2016-5180 [CRITICAL] CVE-2016-5180: c-ares - Heap-based buffer overflow in the ares_create_query function in c-ares 1.x befor... Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly execute arbitrary code via a hostname with an escaped trailing dot. Scope: local bookworm: resolved (fixed in 1.12.0-1) bullseye: resolved (fixed in 1.12.0-1) forky: resolved (fixed in 1.12.0
debian