Vulnerability Description
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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| C-Ares Project | C-Ares | < 1.19.1 |
| Fedoraproject | Fedora | 37 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1Release Notes
- https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6vThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00034.htmlMailing List
- https://lists.fedoraproject.org/archives/list/[email protected]Mailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]Mailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202310-09Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240605-0005/
- https://www.debian.org/security/2023/dsa-5419Third Party Advisory
- https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1Release Notes
- https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6vThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00034.htmlMailing List
- https://lists.fedoraproject.org/archives/list/[email protected]Mailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]Mailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202310-09Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240605-0005/
FAQ
What is CVE-2023-31130?
CVE-2023-31130 is a vulnerability with a CVSS score of 4.1 (MEDIUM). 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...
How severe is CVE-2023-31130?
CVE-2023-31130 has been rated MEDIUM with a CVSS base score of 4.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-31130?
Check the references section above for vendor advisories and patch information. Affected products include: C-Ares Project C-Ares, Fedoraproject Fedora, Debian Debian Linux.