CVE-2017-13704
mediumpriority · attend · 53EPSS 0.654 · 99 %ileEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- FixedRUGGEDCOM RM1224cisa_csaf_ot
Update to V5.0 or later version https://support.industry.siemens.com/cs/ww/en/view/109757544
- FixedSCALANCE M-800 / S615cisa_csaf_ot
Update to V5.0 or later version https://support.industry.siemens.com/cs/ww/en/view/109757544
- FixedSCALANCE W1750Dcisa_csaf_ot
Update to V6.5.1.5 or later version https://support.industry.siemens.com/cs/ww/en/view/109778052
- MitigationRUGGEDCOM RM1224cisa_csaf_ot
SCALANCE M-800 / S615 and RUGGEDCOM RM1224: Disable DNS proxy in the device configuration (System - DNS - DNS Proxy - Disable Checkbox 'Enable DNS Proxy'), and configure the connected devices in the internal network to use a different DNS server
- MitigationSCALANCE M-800 / S615cisa_csaf_ot
SCALANCE M-800 / S615 and RUGGEDCOM RM1224: Disable DNS proxy in the device configuration (System - DNS - DNS Proxy - Disable Checkbox 'Enable DNS Proxy'), and configure the connected devices in the internal network to use a different DNS server
- MitigationSCALANCE W1750Dcisa_csaf_ot
SCALANCE W1750D: If 'OpenDNS', 'Captive Portal' or 'URL redirection' functionality is not used, deploy firewall rules in the device configuration to block incoming access to port 53/UDP
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (37)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- ICSA-17-332-01Siemens SCALANCE W1750D, M800, S615, and RUGGEDCOM RM1224 (Update C)2017-11-17icsa · cisa_csaf_otUS
As a general security measure, Siemens strongly recommends to protect network access to devices with appropriate mechanisms. In order to operate the devices in a protected IT environment, Siemens recommends to configure the environment according to Siemens' operational guidelines for Industrial Security (Download: https://www.siemens.com/cert/operational-guidelines-industrial-security), and to follow the recommendations in the product manuals.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (58)
External citations — patches, advisories, analysis.
- http://www.kb.cert.org/vuls/id/973527cnnvd
- http://www.securityfocus.com/bid/101085cnnvd
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2017&m=slackware-security.601472cnnvd
- http://www.thekelleys.org.uk/dnsmasq/CHANGELOGcnnvd
- http://www.thekelleys.org.uk/dnsmasq/doc.htmlcnnvd
- https://access.redhat.com/errata/RHSA-2017:2836cnnvd
- https://access.redhat.com/errata/RHSA-2017:2837cnnvd
- https://access.redhat.com/security/cve/CVE-2017-13704cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan