Ubuntu 18.04 LTS / 20.04 LTS : Avahi vulnerabilities (USN-5008-1)

medium Nessus Plugin ID 151452

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS / 20.10 / 21.04 host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-5008-1 advisory.

- A flaw was found in avahi in versions 0.6 up to 0.8. The event used to signal the termination of the client connection on the avahi Unix socket is not correctly handled in the client_work function, allowing a local attacker to trigger an infinite loop. The highest threat from this vulnerability is to the availability of the avahi service, which becomes unresponsive after this flaw is triggered.
(CVE-2021-3468)

- A flaw was found in avahi 0.8-5. A reachable assertion is present in avahi_s_host_name_resolver_start function allowing a local attacker to crash the avahi service by requesting hostname resolutions through the avahi socket or dbus methods for invalid hostnames. The highest threat from this vulnerability is to the service availability. (CVE-2021-3502)

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

See Also

https://ubuntu.com/security/notices/USN-5008-1

Plugin Details

Severity: Medium

ID: 151452

File Name: ubuntu_USN-5008-1.nasl

Version: 1.4

Type: local

Agent: unix

Published: 7/8/2021

Updated: 10/16/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2021-3502

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:avahi-autoipd, p-cpe:/a:canonical:ubuntu_linux:avahi-daemon, p-cpe:/a:canonical:ubuntu_linux:avahi-discover, p-cpe:/a:canonical:ubuntu_linux:avahi-dnsconfd, p-cpe:/a:canonical:ubuntu_linux:avahi-ui-utils, p-cpe:/a:canonical:ubuntu_linux:avahi-utils, p-cpe:/a:canonical:ubuntu_linux:gir1.2-avahi-0.6, p-cpe:/a:canonical:ubuntu_linux:libavahi-client-dev, p-cpe:/a:canonical:ubuntu_linux:libavahi-client3, p-cpe:/a:canonical:ubuntu_linux:libavahi-common-data, p-cpe:/a:canonical:ubuntu_linux:libavahi-common-dev, p-cpe:/a:canonical:ubuntu_linux:libavahi-common3, p-cpe:/a:canonical:ubuntu_linux:libavahi-common3-udeb, p-cpe:/a:canonical:ubuntu_linux:libavahi-compat-libdnssd-dev, p-cpe:/a:canonical:ubuntu_linux:libavahi-compat-libdnssd1, p-cpe:/a:canonical:ubuntu_linux:libavahi-core-dev, p-cpe:/a:canonical:ubuntu_linux:libavahi-core7, p-cpe:/a:canonical:ubuntu_linux:libavahi-core7-udeb, p-cpe:/a:canonical:ubuntu_linux:libavahi-glib-dev, p-cpe:/a:canonical:ubuntu_linux:libavahi-glib1, p-cpe:/a:canonical:ubuntu_linux:libavahi-gobject-dev, p-cpe:/a:canonical:ubuntu_linux:libavahi-gobject0, p-cpe:/a:canonical:ubuntu_linux:libavahi-ui-gtk3-0, p-cpe:/a:canonical:ubuntu_linux:libavahi-ui-gtk3-dev, p-cpe:/a:canonical:ubuntu_linux:python-avahi

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/7/2021

Vulnerability Publication Date: 5/7/2021

Reference Information

CVE: CVE-2021-3468, CVE-2021-3502

USN: 5008-1