CVE-2023-31130: medium-severity vulnerability in c-ares
Buffer Underwrite in ares_inet_net_pton()
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.1epss 0.4%
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 externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
Affected products
c-ares · c-aresRelated CVEs — c-ares
In the same product, most dangerous first.
CVE-2023-32067HIGH0-byte UDP payload DoS in c-aresEPSS 1.6%CVE-2023-31124LOWAutoTools does not set CARES_RANDOM_FILE during cross compilationEPSS 0.9%CVE-2023-31147MEDIUMInsufficient randomness in generation of DNS query IDs in c-aresEPSS 0.9%CVE-2026-33630HIGHc-ares : Use-after-free / double-free in c-ares query-completion handling, remotely triggerable via ares_getaddrinfo() over TCPEPSS 0.8%CVE-2025-31498HIGHc-ares has a use-after-free in read_answers()EPSS 0.6%CVE-2026-69184HIGHc-ares: CPU-exhaustion denial of service via unbounded DNS name compression pointer chainsEPSS 0.5%
References
https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6vhttps://lists.debian.org/debian-lts-announce/2023/06/msg00034.htmlhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/https://security.gentoo.org/glsa/202310-09https://security.netapp.com/advisory/ntap-20240605-0005/https://www.debian.org/security/2023/dsa-5419