Bug 2209497 (CVE-2023-31130) - CVE-2023-31130 c-ares: Buffer Underwrite in ares_inet_net_pton()
Summary: CVE-2023-31130 c-ares: Buffer Underwrite in ares_inet_net_pton()
Keywords:
Status: NEW
Alias: CVE-2023-31130
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2209539 2209540 2209541 2209542 2209543 2209545 2209546 2209547 2209548 2209554 2209556 2209557 2209558 2209559 2209561 2211045 2211046 2211047 2211048 2211049 2212436 2212437 2214630
Blocks: 2209110
TreeView+ depends on / blocked
 
Reported: 2023-05-24 03:56 UTC by Sandipan Roy
Modified: 2024-02-01 09:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in c-ares. This issue occurs in the ares_inet_net_pton() function, which is vulnerable to a buffer underflow for certain ipv6 addresses. "0::00:00:00/2" in particular 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().
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2023:3603 0 None None None 2023-06-14 18:03:10 UTC
Red Hat Product Errata RHBA-2023:3657 0 None None None 2023-06-19 00:24:48 UTC
Red Hat Product Errata RHBA-2023:3666 0 None None None 2023-06-19 13:27:37 UTC
Red Hat Product Errata RHBA-2023:4045 0 None None None 2023-07-13 01:00:19 UTC
Red Hat Product Errata RHBA-2023:4046 0 None None None 2023-07-13 01:06:13 UTC
Red Hat Product Errata RHBA-2023:4077 0 None None None 2023-07-13 11:35:22 UTC
Red Hat Product Errata RHBA-2023:4078 0 None None None 2023-07-13 11:42:13 UTC
Red Hat Product Errata RHBA-2023:4098 0 None None None 2023-07-17 06:51:26 UTC
Red Hat Product Errata RHSA-2023:3577 0 None None None 2023-06-14 07:27:19 UTC
Red Hat Product Errata RHSA-2023:3586 0 None None None 2023-06-14 08:39:11 UTC
Red Hat Product Errata RHSA-2023:4033 0 None None None 2023-07-12 08:26:15 UTC
Red Hat Product Errata RHSA-2023:4034 0 None None None 2023-07-12 08:25:24 UTC
Red Hat Product Errata RHSA-2023:4035 0 None None None 2023-07-12 08:25:21 UTC
Red Hat Product Errata RHSA-2023:4036 0 None None None 2023-07-12 08:12:37 UTC
Red Hat Product Errata RHSA-2023:4039 0 None None None 2023-07-12 08:24:19 UTC
Red Hat Product Errata RHSA-2023:6635 0 None None None 2023-11-07 08:22:18 UTC
Red Hat Product Errata RHSA-2023:7207 0 None None None 2023-11-14 16:55:56 UTC
Red Hat Product Errata RHSA-2023:7392 0 None None None 2023-11-21 11:40:21 UTC
Red Hat Product Errata RHSA-2023:7543 0 None None None 2023-11-28 15:36:19 UTC

Description Sandipan Roy 2023-05-24 03:56:29 UTC
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().

CVE-2023-31130. Moderate. Buffer Underwrite in ares_inet_net_pton() (https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v)

Comment 1 Sandipan Roy 2023-05-24 04:23:00 UTC
Created c-ares tracking bugs for this issue:

Affects: fedora-all [bug 2209542]


Created mingw-c-ares tracking bugs for this issue:

Affects: fedora-all [bug 2209543]


Created nodejs tracking bugs for this issue:

Affects: epel-7 [bug 2209539]


Created nodejs16 tracking bugs for this issue:

Affects: fedora-38 [bug 2209548]


Created nodejs18 tracking bugs for this issue:

Affects: fedora-all [bug 2209545]


Created nodejs20 tracking bugs for this issue:

Affects: fedora-all [bug 2209546]


Created nodejs:13/nodejs tracking bugs for this issue:

Affects: epel-8 [bug 2209540]


Created nodejs:16-epel/nodejs tracking bugs for this issue:

Affects: epel-8 [bug 2209541]


Created nodejs:16/c-ares tracking bugs for this issue:

Affects: fedora-all [bug 2209547]

Comment 4 errata-xmlrpc 2023-06-14 07:27:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:3577 https://access.redhat.com/errata/RHSA-2023:3577

Comment 5 errata-xmlrpc 2023-06-14 08:39:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:3586 https://access.redhat.com/errata/RHSA-2023:3586

Comment 7 errata-xmlrpc 2023-07-12 08:12:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2023:4036 https://access.redhat.com/errata/RHSA-2023:4036

Comment 8 errata-xmlrpc 2023-07-12 08:24:18 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2023:4039 https://access.redhat.com/errata/RHSA-2023:4039

Comment 9 errata-xmlrpc 2023-07-12 08:25:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:4035 https://access.redhat.com/errata/RHSA-2023:4035

Comment 10 errata-xmlrpc 2023-07-12 08:25:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:4034 https://access.redhat.com/errata/RHSA-2023:4034

Comment 11 errata-xmlrpc 2023-07-12 08:26:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2023:4033 https://access.redhat.com/errata/RHSA-2023:4033

Comment 12 errata-xmlrpc 2023-11-07 08:22:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6635 https://access.redhat.com/errata/RHSA-2023:6635

Comment 13 errata-xmlrpc 2023-11-14 16:55:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7207 https://access.redhat.com/errata/RHSA-2023:7207

Comment 14 errata-xmlrpc 2023-11-21 11:40:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2023:7392 https://access.redhat.com/errata/RHSA-2023:7392

Comment 15 errata-xmlrpc 2023-11-28 15:36:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2023:7543 https://access.redhat.com/errata/RHSA-2023:7543


Note You need to log in before you can comment on or make changes to this bug.