CVE-2017-13704
publisheddnsmasq: Size parameter overflow via large DNS query
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.10 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.11 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.12 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.13 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
Show 14 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.15 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.16 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.17 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.18 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.19 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.20 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.21 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.22 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.23 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.24 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.7 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.8 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
| Alpine Linux | v3.9 | dnsmasq | Fixed | 2.78-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
12- http://thekelleys.org.uk/dnsmasq/CHANGELOG
- http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928
- 101085 http://www.securityfocus.com/bid/101085
- 101977 http://www.securityfocus.com/bid/101977
- 1039474 http://www.securitytracker.com/id/1039474
- https://access.redhat.com/security/vulnerabilities/3199382
- https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
- FEDORA-2017-274d763ed8 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/
- https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html
- [dnsmasq-discuss] 20171002 IMPORTANT SECURITY INFORMATION. https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html
- [dnsmasq-discuss] 20171002 Announce: dnsmasq-2.78. https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html
- https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 66179f4e73297ad93ae3c6114afd0f2d0fa32c8e2c9ab7d5cbb7d6e6318a3ea0
- Ingested
- 23 Sep 2026, 07:42:03 UTC
- Source record
- Official CVE record