CVE-2017-13704
"dnsmasq Negative Offset Buffer Overflow"
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.
INFO
Published Date :
Oct. 3, 2017, 1:29 a.m.
Last Modified :
Nov. 7, 2023, 2:38 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2017-13704
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-13704
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-13704
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-13704
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value 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/msg11665.html [No types assigned] Added Reference MITRE http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928 [No types assigned] Added Reference MITRE https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html [No types assigned] Removed Reference MITRE https://www.mail-archive.com/[email protected]/msg11665.html Removed Reference MITRE https://www.mail-archive.com/[email protected]/msg11664.html Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/ Removed Reference MITRE http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=63437ffbb58837b214b4b92cb1c54bc5f3279928 -
CVE Modified by [email protected]
May. 11, 2018
Action Type Old Value New Value Added Reference https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf [No Types Assigned] -
CVE Modified by [email protected]
Dec. 30, 2017
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 [email protected]
Dec. 01, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/101977 [No Types Assigned] -
Initial Analysis by [email protected]
Oct. 13, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 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://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 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://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://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://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 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 Added CWE CWE-20 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:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:thekelleys:dnsmasq:2.77:*:*:*:*:*:*:* (and previous) -
CVE Modified by [email protected]
Oct. 10, 2017
Action Type Old Value New Value Added Reference https://access.redhat.com/security/vulnerabilities/3199382 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 05, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/101085 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 04, 2017
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1039474 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-13704
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-13704
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
64.79 }} -5.98%
score
0.97597
percentile