CVE-2017-13704
Last modified
CVE-2017-13704 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 65.41% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 17.04 |
| Debian | Debian Linux | 7.0 |
| Debian | Debian Linux | 7.1 |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 27 |
| Novell | Leap | 42.2 |
| Novell | Leap | 42.3 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Thekelleys | Dnsmasq | <= 2.77 |
References
- http://thekelleys.org.uk/dnsmasq/CHANGELOGRelease Notes, Vendor Advisory
- http://www.securityfocus.com/bid/101085Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039474Third Party Advisory, VDB Entry
- https://access.redhat.com/security/vulnerabilities/3199382Issue Tracking, Third Party Advisory
- https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.htmlThird Party Advisory
- http://thekelleys.org.uk/dnsmasq/CHANGELOGRelease Notes, Vendor Advisory
- http://www.securityfocus.com/bid/101085Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039474Third Party Advisory, VDB Entry
- https://access.redhat.com/security/vulnerabilities/3199382Issue Tracking, Third Party Advisory
- https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-13704?
How severe is CVE-2017-13704?
How do I fix CVE-2017-13704?
Are you affected by CVE-2017-13704?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
