CVE-2023-31130
JSON

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 packageVersionsReported by
c-ares c-ares< 1.19.1CVE List
c-ares_project c-aresbefore 1.19.1NVD
fedoraproject fedora37, 38NVD
debian debian_linux10.0, 11.0NVD

All scores

GitHub_M4.1medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD6.4medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-124CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-31130 changed 2025-02-13CVE Terms of Use
NVDCVE-2023-31130 changed 2026-06-17Public domain