CVE-2017-1000381

NameCVE-2017-1000381
DescriptionThe c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS response packet was crafted in a particular way.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-998-1
Debian Bugs865360

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
c-ares (PTS)buster1.14.0-1+deb10u1fixed
buster (security)1.14.0-1+deb10u4fixed
bullseye (security), bullseye1.17.1-1+deb11u3fixed
bookworm1.18.1-3fixed
trixie1.27.0-1fixed
sid1.27.0-1.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
c-aressourcewheezy1.9.1-3+deb7u2DLA-998-1
c-aressourcejessie1.10.0-2+deb8u2
c-aressourcestretch1.12.0-1+deb9u1
c-aressource(unstable)1.12.0-4865360

Notes

https://c-ares.haxx.se/adv_20170620.html
Patch: https://c-ares.haxx.se/CVE-2017-1000381.patch

Search for package or bug name: Reporting problems