CVE-2023-31130

Medium

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.

SeverityMedium
CVSS4.1
Exploit probability—
ProductC-ares
PublishedMay 25, 2023
First seenMay 25, 2023
Weakness typeCWE-124CWE-124

How to fix

Update
  • c-ares_project c-ares1.19.1 or later

Affected products

ProductAffected versionsFixed in
c-ares_project c-aresv < 1.19.11.19.1
fedoraproject fedora37, 38—
debian debian_linux10.0, 11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.