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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-998-1
NVD severitymedium (attack range: remote)
Debian Bugs865360

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
c-ares (PTS)jessie1.10.0-2+deb8u2fixed
jessie (security)1.10.0-2+deb8u1vulnerable
stretch1.12.0-1+deb9u1fixed
buster, sid1.14.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
c-aressource(unstable)1.12.0-4medium865360
c-aressourcejessie1.10.0-2+deb8u2medium
c-aressourcestretch1.12.0-1+deb9u1medium
c-aressourcewheezy1.9.1-3+deb7u2mediumDLA-998-1

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