CVE-2023-31130
C-ares Project C-ares vulnerability
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.
Affected products
C-ares, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether C-ares Project C-ares runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/B5Z · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/UBF · Third Party Advisory
- security.gentoo.org/glsa/202310-09 · Third Party Advisory
- www.debian.org/security/2023/dsa-5419 · Third Party Advisory
- github.com/c-ares/c-ares/releases/tag/cares-1_19_1
- lists.debian.org/debian-lts-announce/2023/06/msg00034.html
- security.netapp.com/advisory/ntap-20240605-0005/
- nvd.nist.gov/vuln/detail/CVE-2023-31130
- cve.org/CVERecord?id=CVE-2023-31130
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.