Repository navigation
Bootloaders grub
Connor Glosner edited this page Sep 11, 2026
·
3 revisions
GNU GRUB 2, the dominant Linux boot loader.
| Type | OS bootloader (type2) |
| Upstream | https://git.savannah.gnu.org/git/grub |
| CVEs attributed | 93 |
| Vulnerability-fixing commits | 28 naming a CVE, 117 keyword-matched |
| CVEs with a linked fix | 27 |
Reads grub.cfg, offers a menu and a scripting shell, loads a kernel and initrd from a filesystem, and boots it or chainloads another loader.
Type 2: it starts from an already-initialised machine, is driven entirely by on-disk configuration, and its whole purpose is preparing an OS.
| Surface | CVEs | |
|---|---|---|
SAS2 |
Persistent data source (software) | 33 |
SAS4 |
Boot-time features (software) | 6 |
SAS1 |
Remote access (software) | 6 |
HAS2 |
External hardware (hardware) | 4 |
HAS1 |
Invasive hardware (hardware) | 1 |
| CWE | CVEs |
|---|---|
| CWE-787 | 21 |
| CWE-190 | 6 |
| CWE-122 | 4 |
| CWE-416 | 4 |
| CWE-825 | 4 |
| CWE-362 | 2 |
| CWE-276 | 2 |
| CWE-290 | 2 |
Detected in its build configuration and source:
- aslr
- measured boot
- secure boot
- signature verification
- stack protector
See Security-Mechanisms for how these are detected and what a detection does and does not prove.
Each of these resolves to a fixing commit and to the parent revision that still contains the bug:
| CVE | Fix | Vulnerable revision |
|---|---|---|
| CVE-2015-8370 | 451d80e52d |
ff5726b878 |
| CVE-2020-10713 | a4d3fbdff1 |
6a34fdb76a |
| CVE-2020-14308 | f725fa7cb2 |
64e26162eb |
| CVE-2020-14309 | 3f05d693d1 |
f725fa7cb2 |
| CVE-2020-14310 | 3f05d693d1 |
f725fa7cb2 |
| CVE-2020-14311 | 3f05d693d1 |
f725fa7cb2 |
| CVE-2020-15705 | 968de8c23c |
bb51ee2b49 |
| CVE-2020-15706 | 426f57383d |
1a8d9c9b4a |
| CVE-2020-15707 | e7b8856f8b |
0dcbf3652b |
| CVE-2020-25632 | 7630ec5397 |
f05e79a014 |
| CVE-2020-25647 | 128c16a682 |
7630ec5397 |
| CVE-2020-27749 | 4ea7bae51f |
030fb6c4fa |
| CVE-2020-27779 | d298b41f90 |
3e8e4c0549 |
| CVE-2021-20225 | 2a330dba93 |
fe0586347e |
| CVE-2021-20233 | 2f533a89a8 |
0a05f88e2b |
| … and 12 more |
git -C oss-bootloaders/type2/grub checkout <vulnerable revision>git -C oss-bootloaders submodule update --init type2/grub
./scripts/analysis/run-tool.sh codeql grubSee Tools for what each tool applies to.
Home · OS bootloader · Tools