CVE-2017-13704

HIGH

Canonical Ubuntu Linux < 2.77 - Improper Input Validation

Title source: rule

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.

Scores

CVSS v3 7.5
EPSS 0.8175
EPSS Percentile 99.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-20
Status draft

Affected Products (13)

canonical/ubuntu_linux
canonical/ubuntu_linux
canonical/ubuntu_linux
debian/debian_linux
debian/debian_linux
debian/debian_linux
fedoraproject/fedora
novell/leap
novell/leap
redhat/enterprise_linux_desktop
redhat/enterprise_linux_server
redhat/enterprise_linux_workstation
thekelleys/dnsmasq < 2.77

Timeline

Published Oct 03, 2017
Tracked Since Feb 18, 2026