CVE-2017-13704 Integer overflow in n/a

High 7.5 Published Updated

An attacker can cause a denial of service in dnsmasq by sending malformed DNS packets that trigger an integer overflow leading to a crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-13704?

CVE-2017-13704 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 2 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2017-13704?

It affects 8 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Novell Leap, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 2 more.

How do I fix CVE-2017-13704?

Upgrade to a fixed version.

Is CVE-2017-13704 being exploited?

There is no known exploitation of CVE-2017-13704 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2017-13704, CLEANSTART-2026-PF23839, DEBIAN-CVE-2017-13704, GHSA-mprq-hpvv-8wcc.

Is CVE-2017-13704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free