CVE-2017-13704 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 0xf...
HighCVSS 7.5
EPSS 65.4%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/dnsmasq(Debian:12) | < 2.78-1 | 2.78-1 |
| debian/dnsmasq(Debian:13) | < 2.78-1 | 2.78-1 |
| debian/dnsmasq(Debian:14) | < 2.78-1 | 2.78-1 |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 17.04 | No fix listed |
| debian linux | = 7.0 | No fix listed |
| debian linux | = 7.1 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| fedoraproject fedora | = 27 | No fix listed |
| novell leap | = 42.2 | No fix listed |
| novell leap | = 42.3 | No fix listed |
| redhat enterprise linux desktop | = 7.0 | No fix listed |
| redhat enterprise linux server | = 7.0 | No fix listed |
| redhat enterprise linux workstation | = 7.0 | No fix listed |
| thekelleys dnsmasq | <= 2.77 | No fix listed |
| alpine/dnsmasq(Alpine:v3.10) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.11) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.12) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.13) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.14) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.15) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.16) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.17) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.18) | < 2.78-r0 | 2.78-r0 |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/dnsmasq(Alpine:v3.19) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.20) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.21) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.22) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.23) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.24) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.7) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.8) | < 2.78-r0 | 2.78-r0 |
| alpine/dnsmasq(Alpine:v3.9) | < 2.78-r0 | 2.78-r0 |
References
- Debian Security Tracker CVE-2017-13704 vendor-advisory
- thekelleys.org.uk release-notes vendor-advisory
- thekelleys.org.uk
- 101085 third-party-advisory vdb-entry
- 101977 vdb-entry
- 1039474 third-party-advisory vdb-entry
- access.redhat.com issue-tracking third-party-advisory
- cert-portal.siemens.com
- FEDORA-2017-274d763ed8 vendor-advisory
- security.googleblog.com third-party-advisory
- [dnsmasq-discuss] 20171002 IMPORTANT SECURITY INFORMATION. mailing-list
- [dnsmasq-discuss] 20171002 Announce: dnsmasq-2.78. mailing-list
- www.synology.com
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking