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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-124"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31130.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.19.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "cares-1_19_1",
"range": [
{
"fixed": "6360e96b5cf8e5980c887ce58ef727e53d77243a"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:c-ares_project:c-ares:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.19.1"
}
],
"source": "CPE_RANGE"
}
]
}