CVE-2023-31130

Aliases:DEBIAN-CVE-2023-31130CGA-cf4f-r3jg-qjmgCGA-rgp5-9x39-4p88
Advisory lineage Upstream: 0 Downstream: 25
Modified
Published: 25 May 2023, 21:45
Last modified:13 Feb 2025, 16:49

Vulnerability Summary

Overall Risk (default)
medium
26/100
CVSS Score
6.4 MEDIUM
v3.1 (nvd)
EPSS Score
0.39% LOW
0% probability +0.38%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

25 May 2023, 21:45
Published
Vulnerability first disclosed
13 Feb 2025, 16:49
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 4.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
  • v3.1MEDIUMScore: 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.39% Percentile: 33%

Techniques & Countermeasures

  • CWE-124Buffer Underwrite ('Buffer Underflow')

    The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.

  • CWE-787Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • chainguardc-ares

    < 1.19.1-r0

  • wolfic-ares

    < 1.19.1-r0

  • c-ares_projectc-ares

    < 1.19.1

  • c-aresc-ares

    < 1.19.1

  • debianc-ares

    < 1.17.1-1+deb11u3 | < 1.18.1-3 | < 1.18.1-3 | < 1.18.1-3

  • debiandebian_linux

    10.0 | 11.0

  • fedoraprojectfedora

    37 | 38

References (11)