cbcvebase.
CVE-2017-14496
published 2017-10-03

CVE-2017-14496: Integer underflow in the add_pseudoheader function in dnsmasq before 2.78 , when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote…

PriorityP262high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EXPLOIT
EPSS
66.35%
99.2th percentile
Integer underflow in the add_pseudoheader function in dnsmasq before 2.78 , when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause a denial of service via a crafted DNS request.

Affected

29 ranges· showing 25
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
debiandnsmasq< dnsmasq 2.78-1 (bookworm)dnsmasq 2.78-1 (bookworm)
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
novellleap
novellleap
redhatenterprise_linux_desktop
redhatenterprise_linux_server
redhatenterprise_linux_workstation
thekelleysdnsmasq<= 2.77
thekelleysdnsmasq>= 0 < 2.78-12.78-1
thekelleysdnsmasq>= 0 < 2.78-12.78-1

Detection & IOCsextracted from sources · hover to see the quote

  • Trigger condition requires dnsmasq to be running with --add-mac, --add-cpe-id, or --add-subnet option; only crafted DNS requests sent to those configurations will trigger the integer underflow in add_pseudoheader
  • The vulnerability is in the EDNS0 code path; monitor for malformed/oversized EDNS0 OPT records in DNS UDP traffic that cause dnsmasq to crash (process termination/restart events)
  • The PoC sends a single crafted UDP DNS packet; a dnsmasq crash immediately following receipt of a single DNS request from an external IP is a strong indicator of exploitation
  • ·Vulnerability is only exploitable when dnsmasq is configured with at least one of the options: --add-mac, --add-cpe-id, or --add-subnet; default configurations are not affected
  • ·Red Hat OpenStack Platform dnsmasq-utils RPM does not contain the affected code paths and is not vulnerable, but the underlying dnsmasq RPM from RHEL should still be patched
  • ·Fixed in dnsmasq 2.78; Debian packages resolved in version 2.78-1 across all tracked suites

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.07.8HIGHAV:N/AC:L/Au:N/C:N/I:N/A:C
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.