Repository navigation
Bootloaders edk2
Connor Glosner edited this page Sep 11, 2026
·
3 revisions
TianoCore's reference implementation of UEFI.
| Type | Firmware bootloader (type1) |
| Upstream | https://github.com/tianocore/edk2 |
| CVEs attributed | 34 |
| Vulnerability-fixing commits | 85 naming a CVE, 342 keyword-matched |
| CVEs with a linked fix | 25 |
Runs SEC, PEI, DXE and BDS phases, brings up the platform, publishes Boot Services and Runtime Services, then selects a boot application via BootOrder.
Type 1: it presents the hardware-agnostic UEFI interface that later stages consume, and remains OS-agnostic -- it loads a Type 2 loader, not a kernel.
| Surface | CVEs | |
|---|---|---|
SAS1 |
Remote access (software) | 6 |
SAS4 |
Boot-time features (software) | 3 |
SAS3 |
Post-boot features (software) | 1 |
| CWE | CVEs |
|---|---|
| CWE-122 | 3 |
| CWE-125 | 3 |
| CWE-119 | 3 |
| CWE-835 | 2 |
| CWE-200 | 2 |
| CWE-190 | 2 |
| CWE-680 | 1 |
| CWE-338 | 1 |
Detected in its build configuration and source:
- cfi
- encryption
- fortify
- measured boot
- rollback protection
- 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-2018-12182 | cf574f0a18 |
83f997e58d |
| CVE-2019-14558 | f1d78c489a |
764e8ba138 |
| CVE-2019-14558 | 764e8ba138 |
c32be82e99 |
| CVE-2019-14584 | 26442d11e6 |
f82b827c92 |
| CVE-2022-36765 | 9a75b030cf |
aeaee8944f |
| CVE-2022-36765 | aeaee8944f |
049695a0b1 |
| CVE-2022-36765 | 59f024c76e |
9971b99461 |
| CVE-2023-45229 | 5fd3078a2e |
75deaf5c3c |
| CVE-2023-45229 | 1c440a5ece |
a1c426e844 |
| CVE-2023-45229 | 07362769ab |
1dbb10cc52 |
| CVE-2023-45229 | 1dbb10cc52 |
5f3658197b |
| CVE-2023-45230 | 5f3658197b |
8014ac2d7b |
| CVE-2023-45230 | f31453e8d6 |
959f71c801 |
| CVE-2023-45231 | 6f77463d72 |
bbfee34f41 |
| CVE-2023-45231 | bbfee34f41 |
07362769ab |
| … and 10 more |
git -C oss-bootloaders/type1/edk2 checkout <vulnerable revision>git -C oss-bootloaders submodule update --init type1/edk2
./scripts/analysis/run-tool.sh codeql edk2See Tools for what each tool applies to.