Improper Input Validation The advisory has been revoked - it doesn't affect any version of package dnsmasq  (opens in a new tab)


Threat Intelligence

EPSS
65.41% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1404-DNSMASQ-617656
  • published10 Sept 2020
  • disclosed3 Oct 2017

Introduced: 3 Oct 2017

CVE-2017-13704  (opens in a new tab)
CWE-20  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:14.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dnsmasq package and not the dnsmasq package as distributed by Ubuntu.

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.