Ubuntu 18.04 LTS : Linux kernel vulnerabilities (USN-5045-1)

medium Nessus Plugin ID 152639

Synopsis

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

Description

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

- A flaw double-free memory corruption in the Linux kernel HCI device initialization subsystem was found in the way user attach malicious HCI TTY Bluetooth device. A local user could use this flaw to crash the system. This flaw affects all the Linux kernel versions starting from 3.13. (CVE-2021-3564)

- A use-after-free in function hci_sock_bound_ioctl() of the Linux kernel HCI subsystem was found in the way user calls ioct HCIUNBLOCKADDR or other way triggers race condition of the call hci_unregister_dev() together with one of the calls hci_sock_blacklist_add(), hci_sock_blacklist_del(), hci_get_conn_info(), hci_get_auth_info(). A privileged local user could use this flaw to crash the system or escalate their privileges on the system. This flaw affects the Linux kernel versions prior to 5.13-rc5. (CVE-2021-3573)

- net/can/bcm.c in the Linux kernel through 5.12.10 allows local users to obtain sensitive information from kernel stack memory because parts of a data structure are uninitialized. (CVE-2021-34693)

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-5045-1

Plugin Details

Severity: Medium

ID: 152639

File Name: ubuntu_USN-5045-1.nasl

Version: 1.5

Type: local

Agent: unix

Published: 8/18/2021

Updated: 8/26/2021

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.1

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

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

CVSS Score Source: CVE-2021-3573

CVSS v3

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5.6

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:linux-aws, p-cpe:/a:canonical:ubuntu_linux:linux-aws-5.4-cloud-tools-5.4.0-1055, p-cpe:/a:canonical:ubuntu_linux:linux-aws-5.4-headers-5.4.0-1055, p-cpe:/a:canonical:ubuntu_linux:linux-aws-5.4-tools-5.4.0-1055, p-cpe:/a:canonical:ubuntu_linux:linux-aws-edge, p-cpe:/a:canonical:ubuntu_linux:linux-azure, p-cpe:/a:canonical:ubuntu_linux:linux-azure-5.4-cloud-tools-5.4.0-1056, p-cpe:/a:canonical:ubuntu_linux:linux-azure-5.4-headers-5.4.0-1056, p-cpe:/a:canonical:ubuntu_linux:linux-azure-5.4-tools-5.4.0-1056, p-cpe:/a:canonical:ubuntu_linux:linux-azure-edge, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-1022-gkeop, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-1051-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-1051-gke, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-1053-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-1055-aws, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-1056-azure, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-81-generic, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-81-generic-lpae, p-cpe:/a:canonical:ubuntu_linux:linux-buildinfo-5.4.0-81-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-5.4.0-1022-gkeop, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-5.4.0-1055-aws, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-5.4.0-1056-azure, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-5.4.0-81-generic, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-5.4.0-81-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-azure, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-azure-edge, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-generic-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-generic-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-gkeop-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-lowlatency-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-lowlatency-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-virtual-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-cloud-tools-virtual-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-gcp-5.4-headers-5.4.0-1051, p-cpe:/a:canonical:ubuntu_linux:linux-gcp-5.4-tools-5.4.0-1051, p-cpe:/a:canonical:ubuntu_linux:linux-gcp-edge, p-cpe:/a:canonical:ubuntu_linux:linux-generic-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-generic-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-generic-lpae-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-generic-lpae-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-gke-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-gke-5.4-headers-5.4.0-1051, p-cpe:/a:canonical:ubuntu_linux:linux-gke-5.4-tools-5.4.0-1051, p-cpe:/a:canonical:ubuntu_linux:linux-gkeop-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-gkeop-5.4-cloud-tools-5.4.0-1022, p-cpe:/a:canonical:ubuntu_linux:linux-gkeop-5.4-headers-5.4.0-1022, p-cpe:/a:canonical:ubuntu_linux:linux-gkeop-5.4-source-5.4.0, p-cpe:/a:canonical:ubuntu_linux:linux-gkeop-5.4-tools-5.4.0-1022, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-1022-gkeop, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-1051-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-1051-gke, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-1053-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-1055-aws, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-1056-azure, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-81-generic, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-81-generic-lpae, p-cpe:/a:canonical:ubuntu_linux:linux-headers-5.4.0-81-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-headers-aws, p-cpe:/a:canonical:ubuntu_linux:linux-headers-aws-edge, p-cpe:/a:canonical:ubuntu_linux:linux-headers-azure, p-cpe:/a:canonical:ubuntu_linux:linux-headers-azure-edge, p-cpe:/a:canonical:ubuntu_linux:linux-headers-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-headers-gcp-edge, p-cpe:/a:canonical:ubuntu_linux:linux-headers-generic-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-headers-generic-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-headers-generic-lpae-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-headers-generic-lpae-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-headers-gke-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-headers-gkeop-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-headers-lowlatency-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-headers-lowlatency-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-headers-oem, p-cpe:/a:canonical:ubuntu_linux:linux-headers-oem-osp1, p-cpe:/a:canonical:ubuntu_linux:linux-headers-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-headers-oracle-edge, p-cpe:/a:canonical:ubuntu_linux:linux-headers-snapdragon-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-headers-snapdragon-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-headers-virtual-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-headers-virtual-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-hwe-5.4-cloud-tools-5.4.0-81, p-cpe:/a:canonical:ubuntu_linux:linux-hwe-5.4-cloud-tools-common, p-cpe:/a:canonical:ubuntu_linux:linux-hwe-5.4-headers-5.4.0-81, p-cpe:/a:canonical:ubuntu_linux:linux-hwe-5.4-source-5.4.0, p-cpe:/a:canonical:ubuntu_linux:linux-hwe-5.4-tools-5.4.0-81, p-cpe:/a:canonical:ubuntu_linux:linux-hwe-5.4-tools-common, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1022-gkeop, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1051-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1051-gke, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1053-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1055-aws, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1056-azure, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-81-generic, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-81-generic-lpae, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-81-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-image-aws, p-cpe:/a:canonical:ubuntu_linux:linux-image-aws-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-azure, p-cpe:/a:canonical:ubuntu_linux:linux-image-azure-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-extra-virtual-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-image-extra-virtual-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-image-gcp-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-generic-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-image-generic-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-generic-lpae-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-image-generic-lpae-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-gke-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-image-gkeop-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-image-lowlatency-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-image-lowlatency-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-oem, p-cpe:/a:canonical:ubuntu_linux:linux-image-oem-osp1, p-cpe:/a:canonical:ubuntu_linux:linux-image-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-image-oracle-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-snapdragon-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-image-snapdragon-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-image-unsigned-5.4.0-1022-gkeop, p-cpe:/a:canonical:ubuntu_linux:linux-image-unsigned-5.4.0-1051-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-image-unsigned-5.4.0-1051-gke, p-cpe:/a:canonical:ubuntu_linux:linux-image-unsigned-5.4.0-1053-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-image-unsigned-5.4.0-1056-azure, p-cpe:/a:canonical:ubuntu_linux:linux-image-unsigned-5.4.0-81-generic, p-cpe:/a:canonical:ubuntu_linux:linux-image-unsigned-5.4.0-81-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-image-virtual-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-image-virtual-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-lowlatency-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-lowlatency-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-1022-gkeop, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-1051-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-1051-gke, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-1053-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-1055-aws, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-1056-azure, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-81-generic, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-81-generic-lpae, p-cpe:/a:canonical:ubuntu_linux:linux-modules-5.4.0-81-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-5.4.0-1022-gkeop, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-5.4.0-1051-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-5.4.0-1051-gke, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-5.4.0-1053-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-5.4.0-1055-aws, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-5.4.0-1056-azure, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-5.4.0-81-generic, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-aws, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-aws-edge, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-azure, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-azure-edge, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-gcp-edge, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-gke-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-gkeop-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-oracle-edge, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-virtual-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-modules-extra-virtual-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-oem, p-cpe:/a:canonical:ubuntu_linux:linux-oem-osp1, p-cpe:/a:canonical:ubuntu_linux:linux-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-oracle-5.4-headers-5.4.0-1053, p-cpe:/a:canonical:ubuntu_linux:linux-oracle-5.4-tools-5.4.0-1053, p-cpe:/a:canonical:ubuntu_linux:linux-oracle-edge, p-cpe:/a:canonical:ubuntu_linux:linux-signed-azure, p-cpe:/a:canonical:ubuntu_linux:linux-signed-azure-edge, p-cpe:/a:canonical:ubuntu_linux:linux-signed-image-azure, p-cpe:/a:canonical:ubuntu_linux:linux-signed-image-azure-edge, p-cpe:/a:canonical:ubuntu_linux:linux-signed-image-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-signed-image-oracle-edge, p-cpe:/a:canonical:ubuntu_linux:linux-signed-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-signed-oracle-edge, p-cpe:/a:canonical:ubuntu_linux:linux-snapdragon-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-snapdragon-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-1022-gkeop, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-1051-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-1051-gke, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-1053-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-1055-aws, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-1056-azure, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-81-generic, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-81-generic-lpae, p-cpe:/a:canonical:ubuntu_linux:linux-tools-5.4.0-81-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-tools-aws, p-cpe:/a:canonical:ubuntu_linux:linux-tools-aws-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-azure, p-cpe:/a:canonical:ubuntu_linux:linux-tools-azure-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-tools-gcp-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-generic-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-tools-generic-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-generic-lpae-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-tools-generic-lpae-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-gke-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-tools-gkeop-5.4, p-cpe:/a:canonical:ubuntu_linux:linux-tools-lowlatency-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-tools-lowlatency-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-oem, p-cpe:/a:canonical:ubuntu_linux:linux-tools-oem-osp1, p-cpe:/a:canonical:ubuntu_linux:linux-tools-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-tools-oracle-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-snapdragon-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-tools-snapdragon-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-tools-virtual-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-tools-virtual-hwe-18.04-edge, p-cpe:/a:canonical:ubuntu_linux:linux-virtual-hwe-18.04, p-cpe:/a:canonical:ubuntu_linux:linux-virtual-hwe-18.04-edge

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/18/2021

Vulnerability Publication Date: 5/26/2021

Reference Information

CVE: CVE-2021-3564, CVE-2021-3573, CVE-2021-34693

USN: 5045-1