CVE-2017-9445

NameCVE-2017-9445
DescriptionIn systemd through 233, certain sizes passed to dns_packet_new in systemd-resolved can cause it to allocate a buffer that's too small. A malicious DNS server can exploit this via a response with a specially crafted TCP payload to trick systemd-resolved into allocating a buffer that's too small, and subsequently write arbitrary data beyond the end of it.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs866147

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
systemd (PTS)wheezy44-11+deb7u4fixed
wheezy (security)44-11+deb7u5fixed
jessie215-17+deb8u7fixed
stretch232-25+deb9u1fixed
buster234-1fixed
sid234-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
systemdsource(unstable)233-10medium866147
systemdsourcejessie(not affected)
systemdsourcestretch232-25+deb9u1medium
systemdsourcewheezy(not affected)

Notes

[jessie] - systemd <not-affected> (Vulnerable code not present)
[wheezy] - systemd <not-affected> (Vulnerable code not present)
Introduced by: https://github.com/systemd/systemd/commit/a0166609f782da91710dea9183d1bf138538db37
http://www.openwall.com/lists/oss-security/2017/06/27/8

Search for package or bug name: Reporting problems