A flaw was found in the grub2-set-bootflag utility of grub2. After the fix of CVE-2019-14865, grub2-set-bootflag will create a temporary file with the new grubenv content and rename it to the original grubenv file. If the program is killed before the rename operation, the temporary file will not be removed and may fill the filesystem when invoked multiple times, resulting in a filesystem out of free inodes or blocks.
The product does not properly “clean up” and remove temporary or supporting resources after they have been used.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Grub2 | Gnu | - (including) | - (including) |
Red Hat Enterprise Linux 8 | RedHat | grub2-1:2.02-156.el8 | * |
Red Hat Enterprise Linux 9 | RedHat | grub2-1:2.06-77.el9 | * |
Grub2 | Ubuntu | bionic | * |
Grub2 | Ubuntu | trusty | * |
Grub2 | Ubuntu | xenial | * |
Grub2-signed | Ubuntu | bionic | * |
Grub2-signed | Ubuntu | trusty | * |
Grub2-signed | Ubuntu | xenial | * |
Grub2-unsigned | Ubuntu | bionic | * |
Grub2-unsigned | Ubuntu | trusty | * |
Grub2-unsigned | Ubuntu | xenial | * |