Name | CVE-2016-5180 |
Description | Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly execute arbitrary code via a hostname with an escaped trailing dot. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-648-1, DSA-3682-1 |
Debian Bugs | 839151 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
c-ares (PTS) | jessie, jessie (lts) | 1.10.0-2+deb8u7 | fixed |
| stretch (security) | 1.12.0-1+deb9u2 | fixed |
| stretch (lts), stretch | 1.12.0-1+deb9u6 | fixed |
| buster (security), buster, buster (lts) | 1.14.0-1+deb10u4 | fixed |
| bullseye (security), bullseye | 1.17.1-1+deb11u3 | fixed |
| bookworm | 1.18.1-3 | fixed |
| sid, trixie | 1.34.2-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://c-ares.haxx.se/adv_20160929.html
https://c-ares.haxx.se/CVE-2016-5180.patch