CVEvulnerability

CVE-2023-31130

6.4 MEDIUM Published 2023-05-25 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-05-25
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
4.1 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 ([email protected])
6.4 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-124, CWE-787

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.

Affected configurations

• c-ares project c-ares (< 1.19.1) • fedoraproject fedora 37 • fedoraproject fedora 38 • debian debian linux 10.0 • debian debian linux 11.0

Related

Weakness · CWE (2)

  • CWE-124 Buffer Underwrite weakness
  • CWE-787 Out-of-bounds Write weakness

References