{"id":"CVE-2023-31130","aliases":["CVE-2023-31130"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer Underwrite in ares_inet_net_pton()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-05-25T21:45:42.645Z","modified":"2026-06-17T05:56:20.050Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-124","CWE-787"],"affected":[{"ranges":[{"version":"< 1.19.1","status":"affected"}],"vendor":"c-ares","product":"c-ares","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.19.1"}],"vendor":"c-ares_project","product":"c-ares","cpe":"cpe:2.3:a:c-ares_project:c-ares:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"37"},{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1","tags":["release-notes","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5419","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202310-09","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240605-0005/","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-16T18:35:37.326Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-31130","url":"https://www.cve.org/CVERecord?id=CVE-2023-31130","licence":"CVE Terms of Use","modified":"2025-02-13T16:49:44.998Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-31130","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31130","licence":"Public domain","modified":"2026-06-17T05:56:20.050Z"}],"updatedAt":"2026-11-25T22:58:24.385Z","epss":{"score":0.00328,"percentile":0.27919,"date":"2026-12-01T12:00:22.000Z"}}