CVE-2017-13704
Detail
Modified After Enrichment
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
URL
Source(s)
Tag(s)
http://thekelleys.org.uk/dnsmasq/CHANGELOG
CVE, MITRE
Release Notes
Vendor Advisory
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928
CVE, MITRE
http://www.securityfocus.com/bid/101085
CVE, MITRE
Third Party Advisory
VDB Entry
http://www.securityfocus.com/bid/101977
CVE, MITRE
http://www.securitytracker.com/id/1039474
CVE, MITRE
Third Party Advisory
VDB Entry
https://access.redhat.com/security/vulnerabilities/3199382
CVE, MITRE
Issue Tracking
Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/
CVE, MITRE
https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html
CVE, MITRE
Third Party Advisory
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html
CVE, MITRE
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html
CVE, MITRE
https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq
CVE, MITRE
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-20
Improper Input Validation
NIST
Change History
12 change records found show changes
CVE Modified by MITRE
6/16/2026 9:05:01 PM
Action
Type
Old Value
New Value
Added
Affected
[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]
CVE Status Change
5/12/2026 8:24:29 PM
Action
Type
Old Value
New Value
CVE Modified by CVE
11/20/2024 10:11:28 PM
Action
Type
Old Value
New Value
Added
Reference
http://thekelleys.org.uk/dnsmasq/CHANGELOG
Added
Reference
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928
Added
Reference
http://www.securityfocus.com/bid/101085
Added
Reference
http://www.securityfocus.com/bid/101977
Added
Reference
http://www.securitytracker.com/id/1039474
Added
Reference
https://access.redhat.com/security/vulnerabilities/3199382
Added
Reference
https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/
Added
Reference
https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html
Added
Reference
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html
Added
Reference
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html
Added
Reference
https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq
CVE Modified by MITRE
5/14/2024 12:21:00 AM
Action
Type
Old Value
New Value
CVE Modified by MITRE
11/06/2023 9:38:41 PM
Action
Type
Old Value
New Value
Added
Reference
MITRE http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928 [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/ [No types assigned]
Added
Reference
MITRE https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html [No types assigned]
Added
Reference
MITRE https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html [No types assigned]
Removed
Reference
MITRE http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=63437ffbb58837b214b4b92cb1c54bc5f3279928
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/
Removed
Reference
MITRE https://www.mail-archive.com/[email protected] /msg11664.html
Removed
Reference
MITRE https://www.mail-archive.com/[email protected] /msg11665.html
CVE Modified by MITRE
5/10/2018 9:29:03 PM
Action
Type
Old Value
New Value
Added
Reference
https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf [No Types Assigned]
CVE Modified by MITRE
12/29/2017 9:29:01 PM
Action
Type
Old Value
New Value
Added
Reference
https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq [No Types Assigned]
CVE Modified by MITRE
11/30/2017 9:29:02 PM
Action
Type
Old Value
New Value
Added
Reference
http://www.securityfocus.com/bid/101977 [No Types Assigned]
Initial Analysis by NIST
10/13/2017 3:27:33 PM
Action
Type
Old Value
New Value
Added
CVSS V3
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Added
CVSS V2
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Added
CWE
CWE-20
Added
CPE Configuration
OR
*cpe:2.3:a:thekelleys:dnsmasq:2.77:*:*:*:*:*:*:* (and previous)
Added
CPE Configuration
OR
*cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
*cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
*cpe:2.3:o:canonical:ubuntu_linux:17.04:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:7.1:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:27:*:*:*:*:*:*:*
*cpe:2.3:o:novell:leap:42.2:*:*:*:*:*:*:*
*cpe:2.3:o:novell:leap:42.3:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
Changed
Reference Type
http://thekelleys.org.uk/dnsmasq/CHANGELOG No Types Assigned
http://thekelleys.org.uk/dnsmasq/CHANGELOG Release Notes, Vendor Advisory
Changed
Reference Type
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=63437ffbb58837b214b4b92cb1c54bc5f3279928 No Types Assigned
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=63437ffbb58837b214b4b92cb1c54bc5f3279928 Patch, Vendor Advisory
Changed
Reference Type
http://www.securityfocus.com/bid/101085 No Types Assigned
http://www.securityfocus.com/bid/101085 Third Party Advisory, VDB Entry
Changed
Reference Type
http://www.securitytracker.com/id/1039474 No Types Assigned
http://www.securitytracker.com/id/1039474 Third Party Advisory, VDB Entry
Changed
Reference Type
https://access.redhat.com/security/vulnerabilities/3199382 No Types Assigned
https://access.redhat.com/security/vulnerabilities/3199382 Issue Tracking, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/ Third Party Advisory
Changed
Reference Type
https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html No Types Assigned
https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html Third Party Advisory
Changed
Reference Type
https://www.mail-archive.com/[email protected] /msg11664.html No Types Assigned
https://www.mail-archive.com/[email protected] /msg11664.html Mailing List, Third Party Advisory
Changed
Reference Type
https://www.mail-archive.com/[email protected] /msg11665.html No Types Assigned
https://www.mail-archive.com/[email protected] /msg11665.html Mailing List, Third Party Advisory
CVE Modified by MITRE
10/09/2017 9:30:21 PM
Action
Type
Old Value
New Value
Added
Reference
https://access.redhat.com/security/vulnerabilities/3199382 [No Types Assigned]
CVE Modified by MITRE
10/04/2017 9:29:05 PM
Action
Type
Old Value
New Value
Added
Reference
http://www.securityfocus.com/bid/101085 [No Types Assigned]
CVE Modified by MITRE
10/03/2017 9:29:02 PM
Action
Type
Old Value
New Value
Added
Reference
http://www.securitytracker.com/id/1039474 [No Types Assigned]
Quick Info
CVE Dictionary Entry: CVE-2017-13704 NVD
Published Date: 10/02/2017 NVD
Last Modified: 06/16/2026
Source: MITRE