dnsmasq 2.86 Multiple Vulnerabilities

critical Nessus Plugin ID 157842

Synopsis

The remote DNS / DHCP service is affected by multiple vulnerabilities.

Description

The version of dnsmasq installed on the remote host is 2.86. It is, therefore, affected by multiple heap-based buffer overflow vulnerabilities in check_bad_address, dhcp_reply, extract_name, resize_packet, print_mac and answer_request.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to dnsmasq 2.87 or later.

See Also

http://www.thekelleys.org.uk/dnsmasq/CHANGELOG

http://www.nessus.org/u?cb603706

Plugin Details

Severity: Critical

ID: 157842

File Name: dnsmasq_2_87.nasl

Version: 1.3

Type: remote

Family: DNS

Published: 2/9/2022

Updated: 11/9/2023

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-45957

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:thekelleys:dnsmasq

Required KB Items: dns_server/version, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/31/2021

Vulnerability Publication Date: 12/31/2021

Reference Information

CVE: CVE-2021-45951, CVE-2021-45952, CVE-2021-45953, CVE-2021-45954, CVE-2021-45955, CVE-2021-45956, CVE-2021-45957