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
Debian Bugs865360

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
c-ares (PTS)stretch1.12.0-1+deb9u1fixed
buster1.14.0-1fixed
bullseye, sid1.17.1-1fixed

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