Buffer Underwrite (Buffer Underflow) Affecting c-ares package, versions [,1.91.1)
Attack Complexity High
Privileges Required High
EPSS 0.05% (13th percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
- Snyk ID SNYK-UNMANAGED-CARES-5597615
- published 24 May 2023
- disclosed 22 May 2023
- credit Hannes Moesl
Introduced: 22 May 2023New CVE-2023-31130 Open this link in a new tab
CWE-124 Open this link in a new tab
How to fix?
c-ares to version 1.91.1 or higher.
Affected versions of this package are vulnerable to Buffer Underwrite (Buffer Underflow) in the
ares_inet_net_pton() function. 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.