CVE-2024-1298 Integer Overflow caused by divide by zero during S3 suspension
A local attacker can cause a denial of service in EDK2 UEFI firmware by triggering an integer overflow leading to division by zero during S3 sleep.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-1298?
CVE-2024-1298 is a medium-severity vulnerability in TianoCore edk2, published on 30 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
EDK2 contains a vulnerability when S3 sleep is activated where an Attacker may cause a Division-By-Zero due to a UNIT32 overflow via local access. A successful exploit of this vulnerability may lead to a loss of Availability.
Weakness: CWE-369
Which versions are affected by CVE-2024-1298?
Linux distribution packages (20)
edk2 Red Hat:rhel_aus:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.5 |
edk2-ovmf Red Hat:rhel_aus:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.5 |
edk2 Red Hat:rhel_e4s:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.5 |
edk2-aarch64 Red Hat:rhel_e4s:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.5 |
edk2-ovmf Red Hat:rhel_e4s:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.5 |
edk2 Red Hat:rhel_eus:8.8::appstream | All versions | 0:20220126gitbb1bba3d77-4.el8_8.4 |
edk2-aarch64 Red Hat:rhel_eus:8.8::appstream | All versions | 0:20220126gitbb1bba3d77-4.el8_8.4 |
edk2-ovmf Red Hat:rhel_eus:8.8::appstream | All versions | 0:20220126gitbb1bba3d77-4.el8_8.4 |
edk2 Red Hat:rhel_tus:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.5 |
edk2-ovmf Red Hat:rhel_tus:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.5 |
ovmf SUSE:Linux Enterprise Micro 5.1 | All versions | 202008-150300.10.23.1 |
ovmf SUSE:Linux Enterprise Micro 5.2 | All versions | 202008-150300.10.23.1 |
ovmf SUSE:Linux Enterprise Micro 5.5 | All versions | 202208-150500.6.3.1 |
ovmf SUSE:Linux Enterprise Module for Package Hub 15 SP5 | All versions | 202208-150500.6.3.1 |
ovmf SUSE:Linux Enterprise Module for Package Hub 15 SP6 | All versions | 202308-150600.5.19.1 |
ovmf SUSE:Linux Enterprise Module for Server Applications 15 SP5 | All versions | 202208-150500.6.3.1 |
ovmf SUSE:Linux Enterprise Module for Server Applications 15 SP6 | All versions | 202308-150600.5.19.1 |
ovmf openSUSE:Leap 15.5 | All versions | 202208-150500.6.3.1 |
ovmf openSUSE:Leap 15.6 | All versions | 202308-150600.5.19.1 |
ovmf openSUSE:Leap Micro 5.5 | All versions | 202208-150500.6.3.1 |
How do I fix CVE-2024-1298?
Apply the vendor's patch.
Is CVE-2024-1298 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1298 exists.
Sources
Also known as AZL-42336, AZL-42337, AZL-42346, BELL-CVE-2024-1298, DEBIAN-CVE-2024-1298, GHSA-xvcj-qw55-xx42 and 7 more.