Name | CVE-2017-13704 |
Description | In dnsmasq before 2.78, if the DNS packet size does not match the expected size, the size parameter in a memset call gets a negative value. As it is an unsigned value, memset ends up writing up to 0xffffffff zero's (0xffffffffffffffff in 64 bit platforms), making dnsmasq crash. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 877102 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
dnsmasq (PTS) | jessie, jessie (lts) | 2.72-3+deb8u7 | fixed |
stretch (security) | 2.76-5+deb9u3 | fixed | |
stretch (lts), stretch | 2.76-5+deb9u4 | fixed | |
buster, buster (lts) | 2.80-1+deb10u3 | fixed | |
buster (security) | 2.80-1+deb10u1 | fixed | |
bullseye | 2.85-1 | fixed | |
bullseye (security) | 2.85-1+deb11u1 | fixed | |
bookworm | 2.89-1 | fixed | |
sid, trixie | 2.90-7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
dnsmasq | source | wheezy | (not affected) | |||
dnsmasq | source | jessie | (not affected) | |||
dnsmasq | source | stretch | (not affected) | |||
dnsmasq | source | (unstable) | 2.78-1 | 877102 |
[stretch] - dnsmasq <not-affected> (Vulnerable code not present; Upstream: Regression introduced in 2.77)
[jessie] - dnsmasq <not-affected> (Vulnerable code not present; Upstream: Regression introduced in 2.77)
[wheezy] - dnsmasq <not-affected> (Vulnerable code not present; Upstream: Regression introduced in 2.77)
https://bugzilla.redhat.com/show_bug.cgi?id=1495510
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2017q3/011729.html
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=63437ffbb58837b214b4b92cb1c54bc5f3279928