RHEL 8 : dnsmasq (RHSA-2021:0151)

high Nessus Plugin ID 145077
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2021:0151 advisory.

- dnsmasq: heap-based buffer overflow in sort_rrset() when DNSSEC is enabled (CVE-2020-25681)

- dnsmasq: buffer overflow in extract_name() due to missing length check when DNSSEC is enabled (CVE-2020-25682)

- dnsmasq: heap-based buffer overflow with large memcpy in get_rdata() when DNSSEC is enabled (CVE-2020-25683)

- dnsmasq: loose address/port check in reply_query() makes forging replies easier for an off-path attacker (CVE-2020-25684)

- dnsmasq: loose query name check in reply_query() makes forging replies easier for an off-path attacker (CVE-2020-25685)

- dnsmasq: multiple queries forwarded for the same name makes forging replies easier for an off-path attacker (CVE-2020-25686)

- dnsmasq: heap-based buffer overflow with large memcpy in sort_rrset() when DNSSEC is enabled (CVE-2020-25687)

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

Solution

Update the affected dnsmasq and / or dnsmasq-utils packages.

See Also

https://cwe.mitre.org/data/definitions/122.html

https://cwe.mitre.org/data/definitions/290.html

https://cwe.mitre.org/data/definitions/358.html

https://access.redhat.com/security/cve/CVE-2020-25681

https://access.redhat.com/security/cve/CVE-2020-25682

https://access.redhat.com/security/cve/CVE-2020-25683

https://access.redhat.com/security/cve/CVE-2020-25684

https://access.redhat.com/security/cve/CVE-2020-25685

https://access.redhat.com/security/cve/CVE-2020-25686

https://access.redhat.com/security/cve/CVE-2020-25687

https://access.redhat.com/errata/RHSA-2021:0151

https://bugzilla.redhat.com/1881875

https://bugzilla.redhat.com/1882014

https://bugzilla.redhat.com/1882018

https://bugzilla.redhat.com/1889686

https://bugzilla.redhat.com/1889688

https://bugzilla.redhat.com/1890125

https://bugzilla.redhat.com/1891568

Plugin Details

Severity: High

ID: 145077

File Name: redhat-RHSA-2021-0151.nasl

Version: 1.7

Type: local

Agent: unix

Published: 1/19/2021

Updated: 10/7/2021

Dependencies: ssh_get_info.nasl, redhat_repos.nasl

Risk Information

CVSS Score Source: CVE-2020-25682

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.1

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

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

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

Vulnerability Information

CPE: cpe:/o:redhat:rhel_aus:8.2, cpe:/o:redhat:rhel_e4s:8.2, cpe:/o:redhat:rhel_eus:8.2, cpe:/o:redhat:rhel_tus:8.2, p-cpe:/a:redhat:enterprise_linux:dnsmasq, p-cpe:/a:redhat:enterprise_linux:dnsmasq-utils

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 1/19/2021

Vulnerability Publication Date: 1/19/2021

Reference Information

CVE: CVE-2020-25681, CVE-2020-25682, CVE-2020-25683, CVE-2020-25684, CVE-2020-25685, CVE-2020-25686, CVE-2020-25687

RHSA: 2021:0151

IAVA: 2021-A-0041

CWE: 122, 290, 358