CVE-2024-38796 Integer overflow in PeCoffLoaderRelocateImage
An integer overflow in EDK2 allows attackers to cause memory corruption via network, leading to potential code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-38796?
CVE-2024-38796 is a medium-severity vulnerability in TianoCore EDK2, published on 27 Sep 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 in the PeCoffLoaderRelocateImage(). An Attacker may cause memory corruption due to an overflow via an adjacent network. A successful exploit of this vulnerability may lead to a loss of Confidentiality, Integrity, and/or Availability.
Weakness: CWE-122
Which versions are affected by CVE-2024-38796?
Linux distribution packages (40)
edk2-aarch64 AlmaLinux:8 | All versions | 20220126gitbb1bba3d77-13.el8_10.4 |
edk2-ovmf AlmaLinux:8 | All versions | 20220126gitbb1bba3d77-13.el8_10.4 |
edk2-aarch64 AlmaLinux:9 | All versions | 20240524-6.el9_5.3 |
edk2-ovmf AlmaLinux:9 | All versions | 20240524-6.el9_5.3 |
edk2-tools AlmaLinux:9 | All versions | 20240524-6.el9_5.3 |
edk2-tools-doc AlmaLinux:9 | All versions | 20240524-6.el9_5.3 |
edk2 Red Hat:enterprise_linux:8::appstream | All versions | 0:20220126gitbb1bba3d77-13.el8_10.4 |
edk2-aarch64 Red Hat:enterprise_linux:8::appstream | All versions | 0:20220126gitbb1bba3d77-13.el8_10.4 |
edk2-ovmf Red Hat:enterprise_linux:8::appstream | All versions | 0:20220126gitbb1bba3d77-13.el8_10.4 |
edk2 Red Hat:enterprise_linux:9::appstream | All versions | 0:20240524-6.el9_5.3 |
edk2-aarch64 Red Hat:enterprise_linux:9::appstream | All versions | 0:20240524-6.el9_5.3 |
edk2-ovmf Red Hat:enterprise_linux:9::appstream | All versions | 0:20240524-6.el9_5.3 |
edk2-aarch64 Red Hat:enterprise_linux:9::crb | All versions | 0:20240524-6.el9_5.3 |
edk2-debugsource Red Hat:enterprise_linux:9::crb | All versions | 0:20240524-6.el9_5.3 |
edk2-ovmf Red Hat:enterprise_linux:9::crb | All versions | 0:20240524-6.el9_5.3 |
edk2-tools Red Hat:enterprise_linux:9::crb | All versions | 0:20240524-6.el9_5.3 |
edk2-tools-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:20240524-6.el9_5.3 |
edk2-tools-doc Red Hat:enterprise_linux:9::crb | All versions | 0:20240524-6.el9_5.3 |
edk2 Red Hat:rhel_aus:8.2::appstream | All versions | 0:20190829git37eef91017ad-9.el8_2.6 |
edk2-ovmf Red Hat:rhel_aus:8.2::appstream | All versions | 0:20190829git37eef91017ad-9.el8_2.6 |
edk2 Red Hat:rhel_aus:8.4::appstream | All versions | 0:20200602gitca407c7246bf-4.el8_4.7 |
edk2-ovmf Red Hat:rhel_aus:8.4::appstream | All versions | 0:20200602gitca407c7246bf-4.el8_4.7 |
edk2 Red Hat:rhel_aus:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.7 |
edk2-ovmf Red Hat:rhel_aus:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.7 |
edk2 Red Hat:rhel_e4s:8.4::appstream | All versions | 0:20200602gitca407c7246bf-4.el8_4.7 |
edk2-ovmf Red Hat:rhel_e4s:8.4::appstream | All versions | 0:20200602gitca407c7246bf-4.el8_4.7 |
edk2 Red Hat:rhel_e4s:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.7 |
edk2-aarch64 Red Hat:rhel_e4s:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.7 |
edk2-ovmf Red Hat:rhel_e4s:8.6::appstream | All versions | 0:20220126gitbb1bba3d77-2.el8_6.7 |
edk2 Red Hat:rhel_e4s:9.0::appstream | All versions | 0:20220126gitbb1bba3d77-3.el9_0.6 |
edk2-aarch64 Red Hat:rhel_e4s:9.0::appstream | All versions | 0:20220126gitbb1bba3d77-3.el9_0.6 |
edk2-ovmf Red Hat:rhel_e4s:9.0::appstream | All versions | 0:20220126gitbb1bba3d77-3.el9_0.6 |
edk2 Red Hat:rhel_eus:8.8::appstream | All versions | 0:20220126gitbb1bba3d77-4.el8_8.7 |
edk2-aarch64 Red Hat:rhel_eus:8.8::appstream | All versions | 0:20220126gitbb1bba3d77-4.el8_8.7 |
edk2-ovmf Red Hat:rhel_eus:8.8::appstream | All versions | 0:20220126gitbb1bba3d77-4.el8_8.7 |
edk2 Red Hat:rhel_eus:9.2::appstream | All versions | 0:20221207gitfff6d81270b5-9.el9_2.5 |
edk2-aarch64 Red Hat:rhel_eus:9.2::appstream | All versions | 0:20221207gitfff6d81270b5-9.el9_2.5 |
edk2-ovmf Red Hat:rhel_eus:9.2::appstream | All versions | 0:20221207gitfff6d81270b5-9.el9_2.5 |
edk2-aarch64 Red Hat:rhel_eus:9.2::crb | All versions | 0:20221207gitfff6d81270b5-9.el9_2.5 |
edk2-debugsource Red Hat:rhel_eus:9.2::crb | All versions | 0:20221207gitfff6d81270b5-9.el9_2.5 |
How do I fix CVE-2024-38796?
Apply the vendor's patch.
Is CVE-2024-38796 being exploited?
There is no known exploitation of CVE-2024-38796 in the wild and no public exploit code.
Sources
Also known as ALSA-2024:11185, ALSA-2024:11219, AZL-49710, AZL-49713, AZL-49716, DEBIAN-CVE-2024-38796 and 14 more.