# CVE-2021-38578: edk2-tools: EDK (Embedded Development Kit) is a project to enable UEFI support for Virtual Machines

CVE-2021-38578 is fixed in 10 products on 1 platform, first by ovmf 0~20180205.c0d9813c-2ubuntu0.3+esm2, released March 3, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-38578
- Priority: High
- CVSS: 9.8 (Important)
- EPSS: 0.0102
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 3, 2022

## Description

EDK (Embedded Development Kit) is a project to enable UEFI support for Virtual Machines. This package contains a sample 64-bit UEFI firmware for QEMU and KVM.   Security Fix(es):  * openssl: X.400 address type confusion in X.509 GeneralName (CVE-2023-0286)  * edk2: integer underflow in SmmEntryPoint function leads to potential SMM privilege escalation (CVE-2021-38578)  * openssl: timing attack in RSA Decryption implementation (CVE-2022-4304)  * openssl: double free after calling PEM_read_bio_ex (CVE-2022-4450)  * openssl: use-after-free following BIO_new_NDEF (CVE-2023-0215)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.2 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | edk2 Debian 12.15 (bookworm) | 2022.11-1 | [DEBIAN-CVE-2021-38578](https://patchblox.com/security/data/fix/linux/debian-cve-2021-38578.md) | Mar 3, 2022 |
| Linux | edk2 Debian 13.5 (trixie) | 2022.11-1 | [DEBIAN-CVE-2021-38578](https://patchblox.com/security/data/fix/linux/debian-cve-2021-38578.md) | Mar 3, 2022 |
| Linux | edk2 Debian 14 | 2022.11-1 | [DEBIAN-CVE-2021-38578](https://patchblox.com/security/data/fix/linux/debian-cve-2021-38578.md) | Mar 3, 2022 |
| Linux | edk2-aarch64 RHEL 9 | 0:20221207gitfff6d81270b5-9.el9_2 | [RHSA-2023:2165](https://patchblox.com/security/data/fix/linux/rhsa-2023-2165.md) | May 9, 2023 |
| Linux | edk2-aarch64 almalinux 9 | 20221207gitfff6d81270b5-9.el9_2 | [ALSA-2023:2165](https://patchblox.com/security/data/fix/linux/alsa-2023-2165.md) | May 9, 2023 |
| Linux | edk2-aarch64 ol 9 | 0:20221207gitfff6d81270b5-9.el9_2 | [ELSA-2023-2165](https://patchblox.com/security/data/fix/linux/elsa-2023-2165.md) | May 15, 2023 |
| Linux | edk2-ovmf RHEL 9 | 0:20221207gitfff6d81270b5-9.el9_2 | [RHSA-2023:2165](https://patchblox.com/security/data/fix/linux/rhsa-2023-2165.md) | May 9, 2023 |
| Linux | edk2-ovmf almalinux 9 | 20221207gitfff6d81270b5-9.el9_2 | [ALSA-2023:2165](https://patchblox.com/security/data/fix/linux/alsa-2023-2165.md) | May 9, 2023 |
| Linux | edk2-ovmf ol 9 | 0:20221207gitfff6d81270b5-9.el9_2 | [ELSA-2023-2165](https://patchblox.com/security/data/fix/linux/elsa-2023-2165.md) | May 15, 2023 |
| Linux | edk2-tools RHEL 9 | 0:20221207gitfff6d81270b5-9.el9_2 | [RHSA-2023:2165](https://patchblox.com/security/data/fix/linux/rhsa-2023-2165.md) | May 9, 2023 |
| Linux | edk2-tools almalinux 9 | 20221207gitfff6d81270b5-9.el9_2 | [ALSA-2023:2165](https://patchblox.com/security/data/fix/linux/alsa-2023-2165.md) | May 9, 2023 |
| Linux | edk2-tools ol 9 | 0:20221207gitfff6d81270b5-9.el9_2 | [ELSA-2023-2165](https://patchblox.com/security/data/fix/linux/elsa-2023-2165.md) | May 15, 2023 |
| Linux | edk2-tools-doc RHEL 9 | 0:20221207gitfff6d81270b5-9.el9_2 | [RHSA-2023:2165](https://patchblox.com/security/data/fix/linux/rhsa-2023-2165.md) | May 9, 2023 |
| Linux | edk2-tools-doc almalinux 9 | 20221207gitfff6d81270b5-9.el9_2 | [ALSA-2023:2165](https://patchblox.com/security/data/fix/linux/alsa-2023-2165.md) | May 9, 2023 |
| Linux | edk2-tools-doc ol 9 | 0:20221207gitfff6d81270b5-9.el9_2 | [ELSA-2023-2165](https://patchblox.com/security/data/fix/linux/elsa-2023-2165.md) | May 15, 2023 |
| Linux | ovmf Ubuntu 18.04.6 LTS (bionic) | 0~20180205.c0d9813c-2ubuntu0.3+esm2 | [ovmf 0~20180205.c0d9813c-2ubuntu0.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ovmf-0-20180205.c0d9813c-2ubuntu0.3-esm2.md) | Mar 3, 2022 |
| Linux | ovmf Ubuntu 20.04 LTS (focal) | 0~20191122.bd85bf54-2ubuntu3.6 | [ovmf 0~20191122.bd85bf54-2ubuntu3.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ovmf-0-20191122.bd85bf54-2ubuntu3.6.md) | Mar 3, 2022 |
| Linux | ovmf Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.3 | [ovmf 2022.02-3ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ovmf-2022.02-3ubuntu0.22.04.3.md) | Mar 3, 2022 |
| Linux | ovmf-ia32 Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.3 | [ovmf-ia32 2022.02-3ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ovmf-ia32-2022.02-3ubuntu0.22.04.3.md) | Mar 3, 2022 |
| Linux | qemu-efi Ubuntu 18.04.6 LTS (bionic) | 0~20180205.c0d9813c-2ubuntu0.3+esm2 | [qemu-efi 0~20180205.c0d9813c-2ubuntu0.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-efi-0-20180205.c0d9813c-2ubuntu0.3-esm2.md) | Mar 3, 2022 |
| Linux | qemu-efi Ubuntu 20.04 LTS (focal) | 0~20191122.bd85bf54-2ubuntu3.6 | [qemu-efi 0~20191122.bd85bf54-2ubuntu3.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-efi-0-20191122.bd85bf54-2ubuntu3.6.md) | Mar 3, 2022 |
| Linux | qemu-efi Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.3 | [qemu-efi 2022.02-3ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-qemu-efi-2022.02-3ubuntu0.22.04.3.md) | Mar 3, 2022 |
| Linux | qemu-efi-aarch64 Ubuntu 18.04.6 LTS (bionic) | 0~20180205.c0d9813c-2ubuntu0.3+esm2 | [qemu-efi-aarch64 0~20180205.c0d9813c-2ubuntu0.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-efi-aarch64-0-20180205.c0d9813c-2ubuntu0.3-esm2.md) | Mar 3, 2022 |
| Linux | qemu-efi-aarch64 Ubuntu 20.04 LTS (focal) | 0~20191122.bd85bf54-2ubuntu3.6 | [qemu-efi-aarch64 0~20191122.bd85bf54-2ubuntu3.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-efi-aarch64-0-20191122.bd85bf54-2ubuntu3.6.md) | Mar 3, 2022 |
| Linux | qemu-efi-aarch64 Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.3 | [qemu-efi-aarch64 2022.02-3ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-qemu-efi-aarch64-2022.02-3ubuntu0.22.04.3.md) | Mar 3, 2022 |
| Linux | qemu-efi-arm Ubuntu 18.04.6 LTS (bionic) | 0~20180205.c0d9813c-2ubuntu0.3+esm2 | [qemu-efi-arm 0~20180205.c0d9813c-2ubuntu0.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-efi-arm-0-20180205.c0d9813c-2ubuntu0.3-esm2.md) | Mar 3, 2022 |
| Linux | qemu-efi-arm Ubuntu 20.04 LTS (focal) | 0~20191122.bd85bf54-2ubuntu3.6 | [qemu-efi-arm 0~20191122.bd85bf54-2ubuntu3.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-efi-arm-0-20191122.bd85bf54-2ubuntu3.6.md) | Mar 3, 2022 |
| Linux | qemu-efi-arm Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.3 | [qemu-efi-arm 2022.02-3ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-qemu-efi-arm-2022.02-3ubuntu0.22.04.3.md) | Mar 3, 2022 |

---

Data as of 2026-11-09T19:38:12Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
