CyberRota Analysis
AI-GeneratedThe c-ares library, versions 1.32.3 to 1.34.7, is vulnerable to a use-after-free and double-free issue in its query-completion handling, which can lead to memory corruption and potential application crashes. This flaw affects any applications utilizing the library for asynchronous DNS resolution, making it critical for developers and organizations relying on c-ares for network operations to prioritize upgrading to version 1.34.7 or later. Immediate action is recommended to mitigate the risk of exploitation and ensure system stability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
c-ares is an asynchronous resolver library. From ver 1.32.3 until 1.34.7, a use-after-free / double-free in c-ares' query-completion handling. The same flaw — a query's callback being invoked while the query is still linked in the channel's internal lookup structures — is present at multiple points in the resend/finish path (timeout handling, response handling, and query dispatch). If the query, or for ares_getaddrinfo() the owning host_query, is freed as a side effect of that callback, it is then accessed and/or freed a second time. This vulnerability is fixed in ver 1.34.7.