CVE-2023-31130
CVE-2023-31130 · Buffer Underwrite in ares_inet_net_pton()
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 4.1 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
c-ares
- Versions
- < 1.19.1: Affected
No fix published
c-ares Debian:12
- Affected ranges
- ECOSYSTEM: < 1.18.1-3
Update to 1.18.1-3
c-ares Debian:13
- Affected ranges
- ECOSYSTEM: < 1.18.1-3
Update to 1.18.1-3
c-ares Debian:14
- Affected ranges
- ECOSYSTEM: < 1.18.1-3
Update to 1.18.1-3
c-ares Ubuntu:Pro:16.04:LTS
- Versions
- 1.10.0-2
- 1.10.0-3
- 1.10.0-3ubuntu0.1
- 1.10.0-3ubuntu0.2
- 1.10.0-3ubuntu0.2+esm1
- Affected ranges
- ECOSYSTEM: < 1.10.0-3ubuntu0.2+esm2
Update to 1.10.0-3ubuntu0.2+esm2
c-ares Ubuntu:Pro:18.04:LTS
- Versions
- 1.13.0-2
- 1.13.0-3
- 1.14.0-1
- 1.14.0-1ubuntu0.1
- 1.14.0-1ubuntu0.2
- Affected ranges
- ECOSYSTEM: < 1.14.0-1ubuntu0.2+esm1
Update to 1.14.0-1ubuntu0.2+esm1
c-ares Ubuntu:20.04:LTS
- Versions
- 1.15.0-1build1
- 1.15.0-1ubuntu0.1
- 1.15.0-1ubuntu0.2
- Affected ranges
- ECOSYSTEM: < 1.15.0-1ubuntu0.3
Update to 1.15.0-1ubuntu0.3
c-ares Ubuntu:22.04:LTS
- Versions
- 1.17.1-1ubuntu1
- 1.18.1-1
- 1.18.1-1build1
- 1.18.1-1ubuntu0.22.04.1
- Affected ranges
- ECOSYSTEM: < 1.18.1-1ubuntu0.22.04.2
Update to 1.18.1-1ubuntu0.22.04.2
Original sources
- https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v
- https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1
- https://lists.fedoraproject.org/archives/list/[email protected]/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/
- https://www.debian.org/security/2023/dsa-5419
- https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html
- https://security.gentoo.org/glsa/202310-09
- https://security.netapp.com/advisory/ntap-20240605-0005/
- https://nvd.nist.gov/vuln/detail/CVE-2023-31130