CVE Database›Document archive›CVE-2019-14865

CVE-2019-14865

grub2: grub2-set-bootflag utility causes grubenv corruption rendering the system non-bootable

Loading…

Severity

Moderate

Red Hat Product Security

5.9

CVSS 3.0

Review impact separately from score.

Published · November 25, 2019

Updated · November 21, 2025

Description

A flaw was found in the grub2-set-bootflag utility of grub2. A local attacker could run this utility under resource pressure (for example by setting RLIMIT), causing grub2 configuration files to be truncated and leaving the system unbootable on subsequent reboots.

Statement

grub-set-bootflag is a command line to set bootflags in GRUB's stored environment. This is a downstream utility which is shipped with Red Hat Enterprise Linux 8 and Fedora. A flaw was found in this application which would could allow a local attacker (someone having a local account on the system) to cause grub configuration files to be truncated. Whenever the machine was rebooted, grub would fail to read the configuration files and the system would be rendered unbootable.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Remove the "grub-set-bootflag" from the system, by manually the deleting the binary file. Note: On subsequent updates of the "grub2-tools-minimal" rpm, the file will be re-installed.

CVSS / CWE

CVSS 3.0 · 5.9
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H

CWE-267 · Privilege Defined With Unsafe Actions