CBL Mariner 2.0 Security Update: grub2 (CVE-2021-3695)

medium Nessus Plugin ID 201614

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of grub2 installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2021-3695 advisory.

- A crafted 16-bit grayscale PNG image May lead to a out-of-bounds write in the heap area. An attacker may take advantage of that to cause heap data corruption or eventually arbitrary code execution and circumvent secure boot protections. This issue has a high complexity to be exploited as an attacker needs to perform some triage over the heap layout to achieve signifcant results, also the values written into the memory are repeated three times in a row making difficult to produce valid payloads. This flaw affects grub2 versions prior grub-2.12. (CVE-2021-3695)

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://nvd.nist.gov/vuln/detail/CVE-2021-3695

Plugin Details

Severity: Medium

ID: 201614

File Name: mariner_CVE-2021-3695.nasl

Version: 1.1

Type: local

Published: 7/3/2024

Updated: 7/3/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.3

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

CVSS Score Source: CVE-2021-3695

CVSS v3

Risk Factor: Medium

Base Score: 4.5

Temporal Score: 3.9

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:cbl-mariner:grub2-efi-binary, p-cpe:/a:microsoft:cbl-mariner:grub2-efi-binary-noprefix, x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:grub2-efi-unsigned, p-cpe:/a:microsoft:cbl-mariner:grub2-rpm-macros, p-cpe:/a:microsoft:cbl-mariner:grub2-configuration, p-cpe:/a:microsoft:cbl-mariner:grub2, p-cpe:/a:microsoft:cbl-mariner:grub2-pc, p-cpe:/a:microsoft:cbl-mariner:grub2-efi

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/1/2024

Vulnerability Publication Date: 6/16/2022

Reference Information

CVE: CVE-2021-3695