VDB
CVE-2017-13704
CVE-2017-13704
PUBLISHED
Reported by mitre · Published October 2, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| dnsmasq | Alpine | 2.78-r0 |
| dnsmasq | thekelleys | 2.77 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | dnsmasq | 0 |
| n/a | n/a | * |
Timeline
- Aug 28, 2017 CVE Published
- Oct 2, 2017 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 5, 2024 CVE Updated
- Mar 30, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 30, 2026 Security Advisory (5 in total, the first dated here)
- Oct 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-13704
vulnetix vdb fixes CVE-2017-13704
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-13704/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 1039474 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 101085 vdb-entryx_refsource_BID
- 101977 vdb-entryx_refsource_BID
- FEDORA-2017-274d763ed8 vendor-advisoryx_refsource_FEDORA
- [dnsmasq-discuss] 20171002 Announce: dnsmasq-2.78. mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- [dnsmasq-discuss] 20171002 IMPORTANT SECURITY INFORMATION. mailing-listx_refsource_MLIST
- x_refsource_CONFIRM