RHEL 7 : grub2 (RHSA-2020:3271)

Medium Nessus Plugin ID 139288

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:3271 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://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:3271

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

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:3271

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: 139288

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

Version: 1.4

Type: local

Agent: unix

Published: 2020/08/03

Updated: 2020/08/10

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS Score Source: CVE-2020-14309

CVSS v2.0

Base Score: 4.6

Temporal Score: 3.4

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

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

CVSS v3.0

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: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:7.6, cpe:/o:redhat:rhel_eus:7.6, cpe:/o:redhat:rhel_eus:7.6::computenode, cpe:/o:redhat:rhel_eus:7.6::server, 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, p-cpe:/a:redhat:enterprise_linux:grub2-efi-aa64-cdboot, 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-aa64, p-cpe:/a:redhat:enterprise_linux:shim-ia32, p-cpe:/a:redhat:enterprise_linux:shim-unsigned-aa64, 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: 2020/08/03

Vulnerability Publication Date: 2020/07/29

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:3271

IAVA: 2020-A-0349

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