Ubuntu 20.04 LTS : Linux kernel (Azure) vulnerabilities (USN-5120-1)

high Nessus Plugin ID 154338
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 Ubuntu host is missing one or more security updates.

Description

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

- In the Linux kernel 5.0.21, mounting a crafted f2fs filesystem image can lead to slab-out-of-bounds read access in f2fs_build_segment_manager in fs/f2fs/segment.c, related to init_min_max_mtime in fs/f2fs/segment.c (because the second argument to get_seg_entry is not validated). (CVE-2019-19449)

- The Linux kernel through 5.8.13 does not properly enforce the Secure Boot Forbidden Signature Database (aka dbx) protection mechanism. This affects certs/blacklist.c and certs/system_keyring.c.
(CVE-2020-26541)

- An issue was discovered in the Linux kernel before 5.9. arch/x86/kvm/svm/sev.c allows attackers to cause a denial of service (soft lockup) by triggering destruction of a large SEV VM (which requires unregistering many encrypted regions), aka CID-7be74942f184. (CVE-2020-36311)

- An out-of-bounds memory write flaw was found in the Linux kernel's joystick devices subsystem in versions before 5.9-rc1, in the way the user calls ioctl JSIOCSBTNMAP. This flaw allows a local user to crash the system or possibly escalate their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. (CVE-2021-3612)

- An issue was discovered in Linux: KVM through Improper handling of VM_IO|VM_PFNMAP vmas in KVM can bypass RO checks and can lead to pages being freed while still accessible by the VMM and guest. This allows users with the ability to start and control a VM to read/write random pages of memory and can result in local privilege escalation. (CVE-2021-22543)

- fs/nfs/nfs4client.c in the Linux kernel before 5.13.4 has incorrect connection-setup ordering, which allows operators of remote NFSv4 servers to cause a denial of service (hanging of mounts) by arranging for those servers to be unreachable during trunking detection. (CVE-2021-38199)

- drivers/net/ethernet/xilinx/ll_temac_main.c in the Linux kernel before 5.12.13 allows remote attackers to cause a denial of service (buffer overflow and lockup) by sending heavy network traffic for about ten minutes. (CVE-2021-38207)

- A race condition was discovered in ext4_write_inline_data_end in fs/ext4/inline.c in the ext4 subsystem in the Linux kernel through 5.13.13. (CVE-2021-40490)

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

Plugin Details

Severity: High

ID: 154338

File Name: ubuntu_USN-5120-1.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/22/2021

Updated: 10/22/2021

Dependencies: ssh_get_info.nasl, linux_alt_patch_detect.nasl

Risk Information

CVSS Score Source: CVE-2021-3612

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

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

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: cpe:2.3:o:canonical:ubuntu_linux:20.04:-:lts:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-image-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-cloud-tools-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-headers-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-modules-extra-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-tools-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-azure-5.8-cloud-tools-5.8.0-1043:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-azure-5.8-headers-5.8.0-1043:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-azure-5.8-tools-5.8.0-1043:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-buildinfo-5.8.0-1043-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-cloud-tools-5.8.0-1043-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-headers-5.8.0-1043-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-image-5.8.0-1043-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-image-unsigned-5.8.0-1043-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-modules-5.8.0-1043-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-modules-extra-5.8.0-1043-azure:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:linux-tools-5.8.0-1043-azure:*:*:*:*:*:*:*

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/21/2021

Vulnerability Publication Date: 12/8/2019

Reference Information

CVE: CVE-2019-19449, CVE-2020-26541, CVE-2020-36311, CVE-2021-22543, CVE-2021-3612, CVE-2021-38199, CVE-2021-38207, CVE-2021-40490, CVE-2021-3759

USN: 5120-1