{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1298 exists.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-1298 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1298 exists.\n\nAffected product: TianoCore edk2. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-1298/ (Markdown: https://insights.sbomify.com/CVE-2024-1298/index.md)","id":"CVE-2024-1298","markdown":"https://insights.sbomify.com/CVE-2024-1298/index.md","name":"CVE-2024-1298","record":{"aliases":["AZL-42336","AZL-42337","AZL-42346","BELL-CVE-2024-1298","DEBIAN-CVE-2024-1298","GHSA-xvcj-qw55-xx42","OESA-2024-1752","RHSA-2024:4747","RHSA-2024:5623","SUSE-SU-2024:4088-1","SUSE-SU-2024:4357-1","SUSE-SU-2025:02516-1","UBUNTU-CVE-2024-1298"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"UEFI firmware","requires_auth":"high_privilege","summary":"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.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"TianoCore","cpe":[],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"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.","ecosystems":["Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_tus:8.6::appstream","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Package Hub 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Module for Server Applications 15 SP5","SUSE:Linux Enterprise Module for Server Applications 15 SP6","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Leap Micro 5.5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Integer Overflow caused by divide by zero during S3 suspension","id":"CVE-2024-1298","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":20,"n_references":3,"next":{"headline":"Privilege Chaining in GitLab","id":"CVE-2024-1299"},"packages":[{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:5623"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:5623"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:5623"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:5623"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:5623"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:20220126gitbb1bba3d77-4.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:4747"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:20220126gitbb1bba3d77-4.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:4747"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:20220126gitbb1bba3d77-4.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:4747"},{"ecosystem":"Red Hat:rhel_tus:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:5623"},{"ecosystem":"Red Hat:rhel_tus:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:5623"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["202008-150300.10.23.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/suse/ovmf\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2024:4357-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["202008-150300.10.23.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/suse/ovmf\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2024:4357-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["202208-150500.6.3.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/suse/ovmf\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:4088-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["202208-150500.6.3.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/suse/ovmf\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:4088-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","fixed":["202308-150600.5.19.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/suse/ovmf\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6","source":"SUSE-SU-2025:02516-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP5","fixed":["202208-150500.6.3.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/suse/ovmf\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5","source":"SUSE-SU-2024:4088-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP6","fixed":["202308-150600.5.19.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/suse/ovmf\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6","source":"SUSE-SU-2025:02516-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["202208-150500.6.3.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/opensuse/ovmf\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:4088-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["202308-150600.5.19.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/opensuse/ovmf\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02516-1"},{"ecosystem":"openSUSE:Leap Micro 5.5","fixed":["202208-150500.6.3.1"],"introduced":["0"],"last_affected":[],"package":"ovmf","purl":"pkg:rpm/opensuse/ovmf\u0026distro=openSUSE%20Leap%20Micro%205.5","source":"SUSE-SU-2024:4088-1"}],"prev":{"headline":"Loomio 2.22.0 - Code injection","id":"CVE-2024-1297"},"products":["edk2"],"published":"2024-05-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["TianoCore"]},"summary":"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.","url":"https://insights.sbomify.com/CVE-2024-1298/"}