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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-13699An issue was discovered on MOXA EDS-G512E 5.1 build 16072215…
- CVE-2017-1370IBM Jazz Reporting Service (JRS) 5.0 and 6.0 could disclose …
- CVE-2017-13700An issue was discovered on MOXA EDS-G512E 5.1 build 16072215…
- CVE-2017-13701An issue was discovered on MOXA EDS-G512E 5.1 build 16072215…
- CVE-2017-13702An issue was discovered on MOXA EDS-G512E 5.1 build 16072215…
- CVE-2017-13703An issue was discovered on MOXA EDS-G512E 5.1 build 16072215…
- CVE-2017-13706XML external entity (XXE) vulnerability in the import packag…
- CVE-2017-13707Privilege escalation in Replibit Backup Manager earlier than…9.8
- CVE-2017-13708Buffer overflow in the web server service in VX Search Enter…
- CVE-2017-13709In FlightGear before version 2017.3.1, Main/logger.cxx in th…
- CVE-2017-1371Builder tools running in the IBM TRIRIGA Application Platfor…
- CVE-2017-13710The setup_group function in elf.c in the Binary File Descrip…
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
