Quantum Secular Labs / Blog / Advisories

CVE-2017-14491: Thekelleys Dnsmasq: Buffer overflow

CVE-2017-14491 is rated critical with a CVSS v3.1 base score of 9.8 and affects Thekelleys Dnsmasq, along with 20 other products in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.

Vulnerability description

Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response.

Severity breakdown

CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
  • Attack complexity: Low. No special conditions; the attack can be repeated reliably.
  • Privileges required: None. No account or prior access is needed.
  • User interaction: None. No action from any user is needed.
  • Scope: Unchanged. Impact stays within the vulnerable component.
  • Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
  • Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
  • Availability impact: High. Total loss of availability; the component can be shut down.

Underlying weakness

CWE-787: Out-of-bounds Write

The product writes data past the end, or before the beginning, of the intended buffer.

Affected products

  • Thekelleys Dnsmasq: up to and including 2.77
  • Red Hat Enterprise Linux Desktop: 6.0; 7.0
  • Red Hat Enterprise Linux Server: 6.0; 7.0
  • Red Hat Enterprise Linux Workstation: 6.0; 7.0
  • Canonical Ubuntu Linux: 12.04; 14.04; 16.04; 17.04
  • Debian Linux: 7.0; 7.1; 8.0; 9.0
  • Opensuse Leap: 42.2; 42.3
  • Suse Linux Enterprise Debuginfo: 11 sp3; 11 sp4
  • Suse Linux Enterprise Point Of Sale: 11 sp3
  • Suse Linux Enterprise Server: 11 sp3; 11 sp4; 12
  • NVIDIA Linux For Tegra: before r21.6; before r24.2.2
  • NVIDIA Geforce Experience: from 3.0 before 3.10.0.55
  • Huawei Honor V9 Play Firmware: before jimmy-al00ac00b135
  • Arista Eos: up to and including 4.15; from 4.16 before 4.16.13m; from 4.17 before 4.17.8m; from 4.18 up to and including 4.18.4.2f
  • Siemens Ruggedcom Rm1224 Firmware: before 5.0

References