GLSA-201701-28 : c-ares: Heap-based buffer overflow

This script is Copyright (C) 2017 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The 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.

Impact :

A remote attacker, able to provide a specially crafted hostname to an
application using c-ares, could potentially cause a Denial of Service
condition.

Workaround :

There is no known workaround at this time.

See also :

https://security.gentoo.org/glsa/201701-28

Solution :

All c-ares users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-dns/c-ares-1.12.0'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 96422 ()

Bugtraq ID:

CVE ID: CVE-2016-5180

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now