CVE-2023-31130

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.
References
Link Resource
https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1 Release Notes
https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html Mailing List
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://security.gentoo.org/glsa/202310-09 Third Party Advisory
https://security.netapp.com/advisory/ntap-20240605-0005/
https://www.debian.org/security/2023/dsa-5419 Third Party Advisory
https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1 Release Notes
https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html Mailing List
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://security.gentoo.org/glsa/202310-09 Third Party Advisory
https://security.netapp.com/advisory/ntap-20240605-0005/
https://www.debian.org/security/2023/dsa-5419 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:c-ares_project:c-ares:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

13 Feb 2025, 17:16

Type Values Removed Values Added
Summary (en) 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. (en) 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.

Information

Published : 2023-05-25 22:15

Updated : 2025-02-13 17:16


NVD link : CVE-2023-31130

Mitre link : CVE-2023-31130

CVE.ORG link : CVE-2023-31130


JSON object : View

Products Affected

debian

  • debian_linux

c-ares_project

  • c-ares

fedoraproject

  • fedora
CWE
CWE-124

Buffer Underwrite ('Buffer Underflow')

CWE-787

Out-of-bounds Write