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

high Nessus Plugin ID 173652

Synopsis

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

Description

The remote Ubuntu 18.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-5985-1 advisory.

It was discovered that the System V IPC implementation in the Linux kernel did not properly handle large shared memory counts. A local attacker could use this to cause a denial of service (memory exhaustion).
(CVE-2021-3669)

It was discovered that the KVM VMX implementation in the Linux kernel did not properly handle indirect branch prediction isolation between L1 and L2 VMs. An attacker in a guest VM could use this to expose sensitive information from the host OS or other guest VMs. (CVE-2022-2196)

Gerald Lee discovered that the USB Gadget file system implementation in the Linux kernel contained a race condition, leading to a use-after-free vulnerability in some situations. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code. (CVE-2022-4382)

It was discovered that the RNDIS USB driver in the Linux kernel contained an integer overflow vulnerability. A local attacker with physical access could plug in a malicious USB device to cause a denial of service (system crash) or possibly execute arbitrary code. (CVE-2023-23559)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

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

Solution

Update the affected kernel package.

See Also

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

Plugin Details

Severity: High

ID: 173652

File Name: ubuntu_USN-5985-1.nasl

Version: 1.5

Type: local

Agent: unix

Published: 3/29/2023

Updated: 8/28/2024

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

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2023-23559

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS Score Source: CVE-2022-2196

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1102-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-146-generic, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1046-ibm, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1099-aws, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1098-oracle, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-146-generic-lpae, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1082-raspi, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-1105-azure, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.4.0-146-lowlatency

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: 3/29/2023

Vulnerability Publication Date: 5/10/2022

Reference Information

CVE: CVE-2021-3669, CVE-2022-2196, CVE-2022-4382, CVE-2023-23559

USN: 5985-1