CVEvulnerability

CVE-2017-13704

7.5 HIGH Published 2017-10-03 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-10-03
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-20

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.

Affected configurations

• 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)

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References