CVE-2023-31130
4.1medium
Buffer Underwrite in ares_inet_net_pton()
- Severity
- 4.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| c-ares c-ares | < 1.19.1 | CVE List |
| c-ares_project c-ares | before 1.19.1 | NVD |
| fedoraproject fedora | 37, 38 | NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
All scores
| GitHub_M | 4.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
References
| https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v | third-party-advisory | |
| https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1 | release-notes | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/ | mailing-list, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/ | mailing-list, third-party-advisory | |
| https://www.debian.org/security/2023/dsa-5419 | third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html | mailing-list | |
| https://security.gentoo.org/glsa/202310-09 | third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20240605-0005/ | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-31130 changed 2025-02-13 | CVE Terms of Use |
| NVD | CVE-2023-31130 changed 2026-06-17 | Public domain |