Division by zero in edk2 - CVE-2024-1298

 

Division by zero in edk2 - CVE-2024-1298

Published: June 5, 2024


Vulnerability identifier: #VU91170
CSH Severity: Low
CVSS v4 BT: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2024-1298
CWE-ID: CWE-369
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a divide by zero error when S3 sleep is activated in MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.c. A local user can perform a denial of service (DoS) attack.


Affected software

edk2
PowerEdge T40
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
Anolis OS
Fedora
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
SUSE Package Hub 15
Server Applications Module
openSUSE Leap
openEuler
Ubuntu
efifs
edk2 (Ubuntu package)
edk2-debugsource
edk2
edk2-debuginfo
edk2-devel
edk2-ovmf
edk2-aarch64
python3-edk2-devel
edk2-help
ovmf-tools
qemu-ovmf-x86_64-debug
qemu-uefi-aarch64
qemu-uefi-aarch32
qemu-ovmf-x86_64
qemu-ovmf-ia32
ovmf
edk2-tools-doc
edk2-riscv64
edk2-loongarch64
edk2-tools
edk2 (Red Hat package)
PowerEdge T30 Mini Tower Server

How to mitigate CVE-2024-1298

Install updates from vendor's website.

edk2 - update to edk2-stable202405
efifs - addressed in versions 1.9-6.el8, 1.9-6.el9, 1.9-6.fc39, 1.9-6.fc40
PowerEdge T30 Mini Tower Server - update to 1.14.0
PowerEdge T40 - update to 1.15.0
edk2 (Ubuntu package) - addressed in versions 2022.02-3ubuntu0.22.04.4, 2022.02-3ubuntu0.22.04.5, 2024.02-2ubuntu0.6, 2024.02-2ubuntu0.7, 2025.02-3ubuntu2.2
edk2-debugsource - update to 202002-22
edk2 - update to 202002-22
edk2-debuginfo - update to 202002-22
edk2-devel - update to 202002-22
edk2-ovmf - update to 202002-22
edk2-aarch64 - update to 202002-22
python3-edk2-devel - update to 202002-22
edk2-help - update to 202002-22
ovmf-tools - addressed in versions 202008-150300.10.23.1, 202202-150400.5.15.1, 202208-150500.6.3.1, 202308-150600.5.19.1
qemu-ovmf-x86_64-debug - addressed in versions 202008-150300.10.23.1, 202202-150400.5.15.1, 202208-150500.6.3.1, 202308-150600.5.19.1
qemu-uefi-aarch64 - addressed in versions 202008-150300.10.23.1, 202202-150400.5.15.1, 202208-150500.6.3.1, 202308-150600.5.19.1
qemu-uefi-aarch32 - addressed in versions 202008-150300.10.23.1, 202202-150400.5.15.1, 202208-150500.6.3.1, 202308-150600.5.19.1
qemu-ovmf-x86_64 - addressed in versions 202008-150300.10.23.1, 202202-150400.5.15.1, 202208-150500.6.3.1, 202308-150600.5.19.1
qemu-ovmf-ia32 - addressed in versions 202008-150300.10.23.1, 202202-150400.5.15.1, 202208-150500.6.3.1, 202308-150600.5.19.1
ovmf - addressed in versions 202008-150300.10.23.1, 202202-150400.5.15.1, 202208-150500.6.3.1, 202308-150600.5.19.1
edk2-tools-doc - addressed in versions 202402-16, 20220126gitbb1bba3d77-13.0.1
edk2-riscv64 - update to 202402-16
edk2-ovmf - addressed in versions 202402-16, 20220126gitbb1bba3d77-13.0.1
edk2-loongarch64 - update to 202402-16
edk2-aarch64 - addressed in versions 202402-16, 20220126gitbb1bba3d77-13.0.1
edk2-tools - update to 202402-16
edk2 (Red Hat package) - update to 20240524-6.el9_5

External References

Related Security Bulletins