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

21 Nov 2024, 08:01

Type Values Removed Values Added
References () https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1 - Release Notes () https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1 - Release Notes
References () https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v - Third Party Advisory () https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html - Mailing List () https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html - Mailing List
References () 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/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/ - Mailing List, Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/ - Mailing List, Third Party Advisory () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/ - Mailing List, Third Party Advisory
References () https://security.gentoo.org/glsa/202310-09 - Third Party Advisory () https://security.gentoo.org/glsa/202310-09 - Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20240605-0005/ - () https://security.netapp.com/advisory/ntap-20240605-0005/ -
References () https://www.debian.org/security/2023/dsa-5419 - Third Party Advisory () https://www.debian.org/security/2023/dsa-5419 - Third Party Advisory
CVSS v2 : unknown
v3 : 6.4
v2 : unknown
v3 : 4.1

10 Jun 2024, 17:16

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20240605-0005/ -

31 Oct 2023, 16:06

Type Values Removed Values Added
First Time Debian debian Linux
Debian
CWE CWE-124 CWE-787
References (MISC) https://www.debian.org/security/2023/dsa-5419 - (MISC) https://www.debian.org/security/2023/dsa-5419 - Third Party Advisory
References (MISC) https://security.gentoo.org/glsa/202310-09 - (MISC) https://security.gentoo.org/glsa/202310-09 - Third Party Advisory
References (MISC) https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html - (MISC) https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html - Mailing List
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

08 Oct 2023, 09:15

Type Values Removed Values Added
References
  • (MISC) https://security.gentoo.org/glsa/202310-09 -

26 Jun 2023, 22:15

Type Values Removed Values Added
References
  • (MISC) https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html -

07 Jun 2023, 10:15

Type Values Removed Values Added
CWE NVD-CWE-Other CWE-124
References
  • (MISC) https://www.debian.org/security/2023/dsa-5419 -

02 Jun 2023, 18:14

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.4
CWE NVD-CWE-Other
First Time Fedoraproject fedora
C-ares Project c-ares
C-ares Project
Fedoraproject
CPE cpe:2.3:a:c-ares_project:c-ares:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
References (MISC) https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1 - (MISC) https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1 - Release Notes
References (MISC) https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v - (MISC) https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v - Third Party Advisory
References (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/ - (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/ - Mailing List, Third Party Advisory
References (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/ - (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/ - Mailing List, Third Party Advisory

28 May 2023, 06:15

Type Values Removed Values Added
References
  • (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/ -

Information

Published : 2023-05-25 22:15

Updated : 2024-11-21 08:01


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