GLSA-201701-28 : c-ares: Heap-based buffer overflow
High Nessus Plugin ID 96422
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-201701-28 (c-ares: Heap-based buffer overflow)
A hostname with an escaped trailing dot (such as “hello\\.”) would have its size calculated incorrectly leading to a single byte written beyond the end of a buffer on the heap.
A remote attacker, able to provide a specially crafted hostname to an application using c-ares, could potentially cause a Denial of Service condition.
There is no known workaround at this time.
SolutionAll c-ares users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-dns/c-ares-1.12.0'