Security Advisory Moderate: grub2 security and bug fix update

Advisory: RHSA-2015:2623-2
Type: Security Advisory
Severity: Moderate
Issued on: 2015-12-15
Last updated on: 2016-01-27
Affected Products: Red Hat Enterprise Linux Desktop (v. 7)
Red Hat Enterprise Linux HPC Node (v. 7)
Red Hat Enterprise Linux HPC Node EUS (v. 7.2)
Red Hat Enterprise Linux Server (v. 7)
Red Hat Enterprise Linux Server AUS (v. 7.2)
Red Hat Enterprise Linux Server EUS (v. 7.2)
Red Hat Enterprise Linux Workstation (v. 7)
CVEs (cve.mitre.org): CVE-2015-8370

Details

Updated grub2 packages that fix one security issue and one bug are now
available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Moderate security
impact. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available from the CVE link in the
References section.

[Updated 27 January 2016]
This advisory has been updated to document additional steps that need to be
performed on BIOS-based systems after installing this update. No changes
were made to the packages included in the advisory.

The grub2 packages provide version 2 of the Grand Unified Bootloader
(GRUB), a highly configurable and customizable bootloader with modular
architecture. The packages support a variety of kernel formats, file
systems, computer architectures, and hardware devices.

A flaw was found in the way the grub2 handled backspace characters entered
in username and password prompts. An attacker with access to the system
console could use this flaw to bypass grub2 password protection and gain
administrative access to the system. (CVE-2015-8370)

This update also fixes the following bug:

* When upgrading from Red Hat Enterprise Linux 7.1 and earlier, a
configured boot password was not correctly migrated to the newly introduced
user.cfg configuration files. This could possibly prevent system
administrators from changing grub2 configuration during system boot even if
they provided the correct password. This update corrects the password
migration script and the incorrectly generated user.cfg file. (BZ#1290089)

All grub2 users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues. For this update to take
effect on BIOS-based machines, grub2 needs to be reinstalled as documented
in the "Reinstalling GRUB 2 on BIOS-Based Machines" section of the Red Hat
Enterprise Linux 7 System Administrator's Guide linked to in the References
section. No manual action is needed on UEFI-based machines.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Updated packages

Red Hat Enterprise Linux Desktop (v. 7)

SRPMS:
grub2-2.02-0.33.el7_2.src.rpm
File outdated by:  RHBA-2016:2336
    MD5: 145d250939145b895265e01422bba640
SHA-256: fc36ecde215ba33a9a35614c2decbd6c4c330fd36a8fd3d00a925eaf0a412429
 
x86_64:
grub2-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 86e08d277d909b72c9bfa4c834453f4f
SHA-256: e2d7cdf86a9db9f95eb9daa3350670622e190f465ff2c123841db894538bff3a
grub2-debuginfo-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:0003
    MD5: 2a2c6519c9fe69acbabfce1b58e023a1
SHA-256: 24609deb028a5889b60eb067aecaadb8b803159b7c0e00b01dcc225b2ecd9877
grub2-efi-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 73f3bb7b60a08743b8dfebee563b19db
SHA-256: 043db58fe6cedb9edf6d3f64761b4da06938cafae29e12287f111870e2b3a511
grub2-efi-modules-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:0003
    MD5: 643381e61a47e89e8a37f835b6eb3ab0
SHA-256: 630c068b01342a483ee9d684dbe0ce0852584665ad27a0a4f8a6b0a4ed95c629
grub2-tools-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 83957565fa398c8bddd6c0e30c2dedf4
SHA-256: 5588308a92bb97f08201049165a667258dfb5214a13ac56b8af4f6287a5424dd
 
Red Hat Enterprise Linux HPC Node (v. 7)

SRPMS:
grub2-2.02-0.33.el7_2.src.rpm
File outdated by:  RHBA-2016:2336
    MD5: 145d250939145b895265e01422bba640
SHA-256: fc36ecde215ba33a9a35614c2decbd6c4c330fd36a8fd3d00a925eaf0a412429
 
x86_64:
grub2-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 86e08d277d909b72c9bfa4c834453f4f
SHA-256: e2d7cdf86a9db9f95eb9daa3350670622e190f465ff2c123841db894538bff3a
grub2-debuginfo-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:0003
    MD5: 2a2c6519c9fe69acbabfce1b58e023a1
SHA-256: 24609deb028a5889b60eb067aecaadb8b803159b7c0e00b01dcc225b2ecd9877
grub2-efi-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 73f3bb7b60a08743b8dfebee563b19db
SHA-256: 043db58fe6cedb9edf6d3f64761b4da06938cafae29e12287f111870e2b3a511
grub2-efi-modules-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:0003
    MD5: 643381e61a47e89e8a37f835b6eb3ab0
SHA-256: 630c068b01342a483ee9d684dbe0ce0852584665ad27a0a4f8a6b0a4ed95c629
grub2-tools-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 83957565fa398c8bddd6c0e30c2dedf4
SHA-256: 5588308a92bb97f08201049165a667258dfb5214a13ac56b8af4f6287a5424dd
 
Red Hat Enterprise Linux HPC Node EUS (v. 7.2)

SRPMS:
grub2-2.02-0.33.el7_2.src.rpm
File outdated by:  RHBA-2016:2336
    MD5: 145d250939145b895265e01422bba640
SHA-256: fc36ecde215ba33a9a35614c2decbd6c4c330fd36a8fd3d00a925eaf0a412429
 
x86_64:
grub2-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 86e08d277d909b72c9bfa4c834453f4f
SHA-256: e2d7cdf86a9db9f95eb9daa3350670622e190f465ff2c123841db894538bff3a
grub2-debuginfo-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 2a2c6519c9fe69acbabfce1b58e023a1
SHA-256: 24609deb028a5889b60eb067aecaadb8b803159b7c0e00b01dcc225b2ecd9877
grub2-efi-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 73f3bb7b60a08743b8dfebee563b19db
SHA-256: 043db58fe6cedb9edf6d3f64761b4da06938cafae29e12287f111870e2b3a511
grub2-efi-modules-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 643381e61a47e89e8a37f835b6eb3ab0
SHA-256: 630c068b01342a483ee9d684dbe0ce0852584665ad27a0a4f8a6b0a4ed95c629
grub2-tools-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 83957565fa398c8bddd6c0e30c2dedf4
SHA-256: 5588308a92bb97f08201049165a667258dfb5214a13ac56b8af4f6287a5424dd
 
Red Hat Enterprise Linux Server (v. 7)

SRPMS:
grub2-2.02-0.33.el7_2.src.rpm
File outdated by:  RHBA-2016:2336
    MD5: 145d250939145b895265e01422bba640
SHA-256: fc36ecde215ba33a9a35614c2decbd6c4c330fd36a8fd3d00a925eaf0a412429
 
PPC:
grub2-2.02-0.33.el7_2.ppc64.rpm
File outdated by:  RHBA-2016:2336
    MD5: c754a2c11176f0fbc68ee2fdcdd9dbaf
SHA-256: b84eddf5631cb4c2ede7473dea7394d542fc5cd843030619ef39859099e72639
grub2-debuginfo-2.02-0.33.el7_2.ppc64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 6afe0d6cf3e83b9696982e4dee250726
SHA-256: e68571519db19698d5fad154a5e5132198099b3a29c7ccaba30c0b9a8eba7374
grub2-tools-2.02-0.33.el7_2.ppc64.rpm
File outdated by:  RHBA-2016:2336
    MD5: a12bf801b91e815ac2faa2f87cf88d15
SHA-256: 5fe4e61f9d37c4cbd4941b07bf28232b10eda2ca8e16a94db933b60581e12606
 
PPC64LE:
grub2-2.02-0.33.el7_2.ppc64le.rpm
File outdated by:  RHBA-2016:2336
    MD5: e6307d68e34fa4e50418d39d4850e154
SHA-256: 14a7d53c914c3fe1892e1121c5bf8601b1b2b4d7645efe9981bfb7c4ebebd720
grub2-debuginfo-2.02-0.33.el7_2.ppc64le.rpm
File outdated by:  RHBA-2016:2336
    MD5: 87c8ff175d95e4c721be5d9f35608c8c
SHA-256: 66422c6dc93b43c95b9bdb14e718eba80379b2ad3485ee29452458bdb039fc22
grub2-tools-2.02-0.33.el7_2.ppc64le.rpm
File outdated by:  RHBA-2016:2336
    MD5: 9fb0f8219c06788e2589addd2ea2b38c
SHA-256: c1109dc84d7fbc05717f4e55ddcde8a48d08dec20a3ce2d06a57c251fb3104ff
 
x86_64:
grub2-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 86e08d277d909b72c9bfa4c834453f4f
SHA-256: e2d7cdf86a9db9f95eb9daa3350670622e190f465ff2c123841db894538bff3a
grub2-debuginfo-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:0003
    MD5: 2a2c6519c9fe69acbabfce1b58e023a1
SHA-256: 24609deb028a5889b60eb067aecaadb8b803159b7c0e00b01dcc225b2ecd9877
grub2-efi-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 73f3bb7b60a08743b8dfebee563b19db
SHA-256: 043db58fe6cedb9edf6d3f64761b4da06938cafae29e12287f111870e2b3a511
grub2-efi-modules-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:0003
    MD5: 643381e61a47e89e8a37f835b6eb3ab0
SHA-256: 630c068b01342a483ee9d684dbe0ce0852584665ad27a0a4f8a6b0a4ed95c629
grub2-tools-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 83957565fa398c8bddd6c0e30c2dedf4
SHA-256: 5588308a92bb97f08201049165a667258dfb5214a13ac56b8af4f6287a5424dd
 
Red Hat Enterprise Linux Server AUS (v. 7.2)

SRPMS:
grub2-2.02-0.33.el7_2.src.rpm
File outdated by:  RHBA-2016:2336
    MD5: 145d250939145b895265e01422bba640
SHA-256: fc36ecde215ba33a9a35614c2decbd6c4c330fd36a8fd3d00a925eaf0a412429
 
x86_64:
grub2-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 86e08d277d909b72c9bfa4c834453f4f
SHA-256: e2d7cdf86a9db9f95eb9daa3350670622e190f465ff2c123841db894538bff3a
grub2-debuginfo-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 2a2c6519c9fe69acbabfce1b58e023a1
SHA-256: 24609deb028a5889b60eb067aecaadb8b803159b7c0e00b01dcc225b2ecd9877
grub2-efi-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 73f3bb7b60a08743b8dfebee563b19db
SHA-256: 043db58fe6cedb9edf6d3f64761b4da06938cafae29e12287f111870e2b3a511
grub2-efi-modules-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 643381e61a47e89e8a37f835b6eb3ab0
SHA-256: 630c068b01342a483ee9d684dbe0ce0852584665ad27a0a4f8a6b0a4ed95c629
grub2-tools-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 83957565fa398c8bddd6c0e30c2dedf4
SHA-256: 5588308a92bb97f08201049165a667258dfb5214a13ac56b8af4f6287a5424dd
 
Red Hat Enterprise Linux Server EUS (v. 7.2)

SRPMS:
grub2-2.02-0.33.el7_2.src.rpm
File outdated by:  RHBA-2016:2336
    MD5: 145d250939145b895265e01422bba640
SHA-256: fc36ecde215ba33a9a35614c2decbd6c4c330fd36a8fd3d00a925eaf0a412429
 
PPC:
grub2-2.02-0.33.el7_2.ppc64.rpm
File outdated by:  RHBA-2017:0223
    MD5: c754a2c11176f0fbc68ee2fdcdd9dbaf
SHA-256: b84eddf5631cb4c2ede7473dea7394d542fc5cd843030619ef39859099e72639
grub2-debuginfo-2.02-0.33.el7_2.ppc64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 6afe0d6cf3e83b9696982e4dee250726
SHA-256: e68571519db19698d5fad154a5e5132198099b3a29c7ccaba30c0b9a8eba7374
grub2-tools-2.02-0.33.el7_2.ppc64.rpm
File outdated by:  RHBA-2017:0223
    MD5: a12bf801b91e815ac2faa2f87cf88d15
SHA-256: 5fe4e61f9d37c4cbd4941b07bf28232b10eda2ca8e16a94db933b60581e12606
 
PPC64LE:
grub2-2.02-0.33.el7_2.ppc64le.rpm
File outdated by:  RHBA-2017:0223
    MD5: e6307d68e34fa4e50418d39d4850e154
SHA-256: 14a7d53c914c3fe1892e1121c5bf8601b1b2b4d7645efe9981bfb7c4ebebd720
grub2-debuginfo-2.02-0.33.el7_2.ppc64le.rpm
File outdated by:  RHBA-2017:0223
    MD5: 87c8ff175d95e4c721be5d9f35608c8c
SHA-256: 66422c6dc93b43c95b9bdb14e718eba80379b2ad3485ee29452458bdb039fc22
grub2-tools-2.02-0.33.el7_2.ppc64le.rpm
File outdated by:  RHBA-2017:0223
    MD5: 9fb0f8219c06788e2589addd2ea2b38c
SHA-256: c1109dc84d7fbc05717f4e55ddcde8a48d08dec20a3ce2d06a57c251fb3104ff
 
x86_64:
grub2-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 86e08d277d909b72c9bfa4c834453f4f
SHA-256: e2d7cdf86a9db9f95eb9daa3350670622e190f465ff2c123841db894538bff3a
grub2-debuginfo-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 2a2c6519c9fe69acbabfce1b58e023a1
SHA-256: 24609deb028a5889b60eb067aecaadb8b803159b7c0e00b01dcc225b2ecd9877
grub2-efi-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 73f3bb7b60a08743b8dfebee563b19db
SHA-256: 043db58fe6cedb9edf6d3f64761b4da06938cafae29e12287f111870e2b3a511
grub2-efi-modules-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 643381e61a47e89e8a37f835b6eb3ab0
SHA-256: 630c068b01342a483ee9d684dbe0ce0852584665ad27a0a4f8a6b0a4ed95c629
grub2-tools-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2017:0223
    MD5: 83957565fa398c8bddd6c0e30c2dedf4
SHA-256: 5588308a92bb97f08201049165a667258dfb5214a13ac56b8af4f6287a5424dd
 
Red Hat Enterprise Linux Workstation (v. 7)

SRPMS:
grub2-2.02-0.33.el7_2.src.rpm
File outdated by:  RHBA-2016:2336
    MD5: 145d250939145b895265e01422bba640
SHA-256: fc36ecde215ba33a9a35614c2decbd6c4c330fd36a8fd3d00a925eaf0a412429
 
x86_64:
grub2-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 86e08d277d909b72c9bfa4c834453f4f
SHA-256: e2d7cdf86a9db9f95eb9daa3350670622e190f465ff2c123841db894538bff3a
grub2-debuginfo-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:0003
    MD5: 2a2c6519c9fe69acbabfce1b58e023a1
SHA-256: 24609deb028a5889b60eb067aecaadb8b803159b7c0e00b01dcc225b2ecd9877
grub2-efi-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 73f3bb7b60a08743b8dfebee563b19db
SHA-256: 043db58fe6cedb9edf6d3f64761b4da06938cafae29e12287f111870e2b3a511
grub2-efi-modules-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:0003
    MD5: 643381e61a47e89e8a37f835b6eb3ab0
SHA-256: 630c068b01342a483ee9d684dbe0ce0852584665ad27a0a4f8a6b0a4ed95c629
grub2-tools-2.02-0.33.el7_2.x86_64.rpm
File outdated by:  RHBA-2016:2336
    MD5: 83957565fa398c8bddd6c0e30c2dedf4
SHA-256: 5588308a92bb97f08201049165a667258dfb5214a13ac56b8af4f6287a5424dd
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1286966 - CVE-2015-8370 grub2: buffer overflow when checking password entered during bootup
1290089 - Grub password broken by update from RHEL7.1 to RHEL7.2


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/