CVE-2023-31130
MEDIUM6.4EPSS 0.01%c-ares - security update
Published: 5/25/2023Modified: 4/28/2026
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 packages (3)
- Debian/c-aresfrom 0, < 1.17.1-1+deb11u3
- Debian/c-aresfrom 0, < 1.14.0-1+deb10u3
- Debian/c-aresfrom 0, < 1.17.1-1+deb11u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |