Heap-based buffer overflow in c-ares.haxx.se c-ares



Published: 2016-10-03 | Updated: 2020-07-28
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-5180
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
c-ares
Universal components / Libraries / Libraries used by multiple products

Vendor c-ares.haxx.se

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU32075

Risk: High

CVSSv3.1: 8.5 [AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-5180

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0. A remote attacker can use a hostname with an escaped trailing dot. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update to version 1.12.0.

Vulnerable software versions

c-ares: 1.0.0 - 1.11.0

External links

http://rhn.redhat.com/errata/RHSA-2017-0002.html
http://www.debian.org/security/2016/dsa-3682
http://www.securityfocus.com/bid/93243
http://www.ubuntu.com/usn/USN-3143-1
http://c-ares.haxx.se/adv_20160929.html
http://c-ares.haxx.se/CVE-2016-5180.patch
http://googlechromereleases.blogspot.in/2016/09/stable-channel-updates-for-chrome-os.html
http://security.gentoo.org/glsa/201701-28
http://source.android.com/security/bulletin/2017-01-01.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###