CVE-2023-31130CWE-124

Buffer Underwrite in ares_inet_net_pton()

Medium · published May 25, 2023

CVSS v3.1
4.1
EPSS
0%
Percentile
31.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.1 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00383 · 31.2th percentile
Weakness
CWE-124 · Buffer Underwrite ('Buffer Underflow')
Published
2023-05-25T21:45Z
EPSS history
Timeline
  • 25 MAY 21:45Z
    Buffer Underwrite in ares_inet_net_pton()
    cvelistv5