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

Type: remote

Family: DNS

Published: 2/9/2022

Updated: 2/14/2022

Configuration: Enable paranoid mode

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS Score Source: CVE-2021-45957

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:thekelleys:dnsmasq

Required KB Items: dns_server/version, Settings/ParanoidReport

Exploit Ease: No known 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