RHEL 7 : grub2 (RHSA-2020:3274)

medium Nessus Plugin ID 139294
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 Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:3274 advisory.

- grub2: Crafted grub.cfg file can lead to arbitrary code execution during boot process (CVE-2020-10713)

- grub2: grub_malloc does not validate allocation size allowing for arithmetic overflow and subsequent heap- based buffer overflow (CVE-2020-14308)

- grub2: Integer overflow in grub_squash_read_symlink may lead to heap-based buffer overflow (CVE-2020-14309)

- grub2: Integer overflow read_section_as_string may lead to heap-based buffer overflow (CVE-2020-14310)

- grub2: Integer overflow in grub_ext2_read_link leads to heap-based buffer overflow (CVE-2020-14311)

- grub2: Fail kernel validation without shim protocol (CVE-2020-15705)

- grub2: Use-after-free redefining a function whilst the same function is already executing (CVE-2020-15706)

- grub2: Integer overflow in initrd size handling (CVE-2020-15707)

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://cwe.mitre.org/data/definitions/78.html

https://cwe.mitre.org/data/definitions/122.html

https://cwe.mitre.org/data/definitions/190.html

https://cwe.mitre.org/data/definitions/416.html

https://cwe.mitre.org/data/definitions/440.html

https://cwe.mitre.org/data/definitions/787.html

https://access.redhat.com/security/cve/CVE-2020-10713

https://access.redhat.com/security/cve/CVE-2020-14308

https://access.redhat.com/security/cve/CVE-2020-14309

https://access.redhat.com/security/cve/CVE-2020-14310

https://access.redhat.com/security/cve/CVE-2020-14311

https://access.redhat.com/security/cve/CVE-2020-15705

https://access.redhat.com/security/cve/CVE-2020-15706

https://access.redhat.com/security/cve/CVE-2020-15707

https://access.redhat.com/errata/RHSA-2020:3274

https://bugzilla.redhat.com/1825243

https://bugzilla.redhat.com/1852009

https://bugzilla.redhat.com/1852014

https://bugzilla.redhat.com/1852022

https://bugzilla.redhat.com/1852030

https://bugzilla.redhat.com/1860978

https://bugzilla.redhat.com/1861118

https://bugzilla.redhat.com/1861581

Plugin Details

Severity: Medium

ID: 139294

File Name: redhat-RHSA-2020-3274.nasl

Version: 1.7

Type: local

Agent: unix

Published: 8/3/2020

Updated: 7/21/2021

Dependencies: ssh_get_info.nasl, redhat_repos.nasl

Risk Information

CVSS Score Source: CVE-2020-14309

VPR

Risk Factor: High

Score: 8.9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

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

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

Vector: CVSS:3.0/AV:L/AC:L/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:redhat:rhel_aus:7.7, cpe:/o:redhat:rhel_e4s:7.7, cpe:/o:redhat:rhel_eus:7.7, cpe:/o:redhat:rhel_tus:7.7, p-cpe:/a:redhat:enterprise_linux:fwupdate, p-cpe:/a:redhat:enterprise_linux:fwupdate-devel, p-cpe:/a:redhat:enterprise_linux:fwupdate-efi, p-cpe:/a:redhat:enterprise_linux:fwupdate-libs, p-cpe:/a:redhat:enterprise_linux:grub2, p-cpe:/a:redhat:enterprise_linux:grub2-common, p-cpe:/a:redhat:enterprise_linux:grub2-efi-aa64-modules, p-cpe:/a:redhat:enterprise_linux:grub2-efi-ia32, p-cpe:/a:redhat:enterprise_linux:grub2-efi-ia32-cdboot, p-cpe:/a:redhat:enterprise_linux:grub2-efi-ia32-modules, p-cpe:/a:redhat:enterprise_linux:grub2-efi-x64, p-cpe:/a:redhat:enterprise_linux:grub2-efi-x64-cdboot, p-cpe:/a:redhat:enterprise_linux:grub2-efi-x64-modules, p-cpe:/a:redhat:enterprise_linux:grub2-pc, p-cpe:/a:redhat:enterprise_linux:grub2-pc-modules, p-cpe:/a:redhat:enterprise_linux:grub2-ppc-modules, p-cpe:/a:redhat:enterprise_linux:grub2-ppc64, p-cpe:/a:redhat:enterprise_linux:grub2-ppc64-modules, p-cpe:/a:redhat:enterprise_linux:grub2-ppc64le, p-cpe:/a:redhat:enterprise_linux:grub2-ppc64le-modules, p-cpe:/a:redhat:enterprise_linux:grub2-tools, p-cpe:/a:redhat:enterprise_linux:grub2-tools-extra, p-cpe:/a:redhat:enterprise_linux:grub2-tools-minimal, p-cpe:/a:redhat:enterprise_linux:mokutil, p-cpe:/a:redhat:enterprise_linux:shim-ia32, p-cpe:/a:redhat:enterprise_linux:shim-unsigned-ia32, p-cpe:/a:redhat:enterprise_linux:shim-unsigned-x64, p-cpe:/a:redhat:enterprise_linux:shim-x64

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/3/2020

Vulnerability Publication Date: 7/29/2020

Reference Information

CVE: CVE-2020-10713, CVE-2020-14308, CVE-2020-14309, CVE-2020-14310, CVE-2020-14311, CVE-2020-15705, CVE-2020-15706, CVE-2020-15707

RHSA: 2020:3274

IAVA: 2020-A-0349

CWE: 78, 122, 190, 416, 440, 787