SB2016101851 - Heap-based buffer overflow in c-ares (Alpine package)
Published: October 18, 2016
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Heap-based buffer overflow (CVE-ID: CVE-2016-5180)
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.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=5a71e890bc61c225096e7c1f8628fe5f3bd2a412
- https://git.alpinelinux.org/aports/commit/?id=d51587174d21c7a83a869847377b9fb7c9546bde
- https://git.alpinelinux.org/aports/commit/?id=42509b15a0de54ffe7691d48c854bdf9a294d63c
- https://git.alpinelinux.org/aports/commit/?id=4bcdffdaa4a4fcf8279da2ea23a83a25d520e60e
- https://git.alpinelinux.org/aports/commit/?id=c1ee0fbf675db00123c18ab2703a51138b5a69dd
- https://git.alpinelinux.org/aports/commit/?id=fe5bd077fa74c3a99a000daa63e86038dd9160e0