cve.bz

CVE-2024-38796 tianocore edk2: Heap-based Buffer Overflow

5.9 mediumEPSS 0.4%

Medium (5.9) in tianocore edk2. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-38796 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-38796?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-38796?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-38796 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
TianoCore EDK2through edk2-stable202405

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11edk22020.11-2+deb11u3DLA-4207-1
Debian12edk22022.11-6+deb12u2DEBIAN-CVE-2024-38796
Debian13, 14edk22024.08-3DEBIAN-CVE-2024-38796
Ubuntu22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-38796 USN-7894-1
Ubuntu24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2024-38796 USN-7894-1
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSedk2no fix listedUBUNTU-CVE-2024-38796
Red Hatenterprise_linux:8::appstreamedk2, edk2-ovmf, edk2-aarch640:20220126gitbb1bba3d77-13.el8_10.4RHSA-2024:11185
Red Hatenterprise_linux:9::appstreamedk2, edk2-ovmf, edk2-aarch640:20240524-6.el9_5.3RHSA-2024:11219
Red Hatenterprise_linux:9::crbedk2-ovmf, edk2-tools, edk2-aarch64 and 3 more0:20240524-6.el9_5.3RHSA-2024:11219
Red Hatrhel_aus:8.2::appstreamedk2, edk2-ovmf0:20190829git37eef91017ad-9.el8_2.6RHSA-2024:9946
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamedk2, edk2-ovmf0:20200602gitca407c7246bf-4.el8_4.7RHSA-2024:10272
Red Hatrhel_aus:8.6::appstream, rhel_tus:8.6::appstreamedk2, edk2-ovmf0:20220126gitbb1bba3d77-2.el8_6.7RHSA-2024:11194
Red Hatrhel_e4s:8.6::appstreamedk2, edk2-ovmf, edk2-aarch640:20220126gitbb1bba3d77-2.el8_6.7RHSA-2024:11194
Red Hatrhel_e4s:9.0::appstreamedk2, edk2-ovmf, edk2-aarch640:20220126gitbb1bba3d77-3.el9_0.6RHSA-2024:9930
Red Hatrhel_eus:8.8::appstreamedk2, edk2-ovmf, edk2-aarch640:20220126gitbb1bba3d77-4.el8_8.7RHSA-2024:10268
Red Hatrhel_eus:9.2::appstreamedk2, edk2-ovmf, edk2-aarch640:20221207gitfff6d81270b5-9.el9_2.5RHSA-2024:9956
Red Hatrhel_eus:9.2::crbedk2-ovmf, edk2-tools, edk2-aarch64 and 3 more0:20221207gitfff6d81270b5-9.el9_2.5RHSA-2024:9956
Red Hatrhel_eus:9.4::appstreamedk2, edk2-ovmf, edk2-aarch640:20231122-6.el9_4.6RHSA-2024:9921
1 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8edk2-ovmf, edk2-aarch6420220126gitbb1bba3d77-13.el8_10.4ALSA-2024:11185
AlmaLinux9edk2-ovmf, edk2-tools, edk2-aarch64 and 1 more20240524-6.el9_5.3ALSA-2024:11219
Rocky Linux8edk20:20220126gitbb1bba3d77-13.el8_10.4RLSA-2024:11185
Rocky Linux9edk20:20240524-6.el9_5.3RLSA-2024:11219
Azure Linux2edk220230301gitf80f052277c8-42AZL-49716
Azure Linux2hvloader1.0.1-13AZL-49713
Azure Linux3edk220240524git3e722403cd16-8AZL-49710

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8edk2-0:20220126gitbb1bba3d77-13.el8_10.4Fixed 2024-12-17RHSA-2024:11185
Red Hat Enterprise Linux 8.2 Advanced Update Supportedk2-0:20190829git37eef91017ad-9.el8_2.6Fixed 2024-11-19RHSA-2024:9946
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportedk2-0:20200602gitca407c7246bf-4.el8_4.7Fixed 2024-11-26RHSA-2024:10272
Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceedk2-0:20200602gitca407c7246bf-4.el8_4.7Fixed 2024-11-26RHSA-2024:10272
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsedk2-0:20200602gitca407c7246bf-4.el8_4.7Fixed 2024-11-26RHSA-2024:10272
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportedk2-0:20220126gitbb1bba3d77-2.el8_6.7Fixed 2024-12-17RHSA-2024:11194
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceedk2-0:20220126gitbb1bba3d77-2.el8_6.7Fixed 2024-12-17RHSA-2024:11194
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsedk2-0:20220126gitbb1bba3d77-2.el8_6.7Fixed 2024-12-17RHSA-2024:11194
Red Hat Enterprise Linux 8.8 Extended Update Supportedk2-0:20220126gitbb1bba3d77-4.el8_8.7Fixed 2024-11-26RHSA-2024:10268
Red Hat Enterprise Linux 9edk2-0:20240524-6.el9_5.3Fixed 2024-12-17RHSA-2024:11219
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsedk2-0:20220126gitbb1bba3d77-3.el9_0.6Fixed 2024-11-19RHSA-2024:9930
Red Hat Enterprise Linux 9.2 Extended Update Supportedk2-0:20221207gitfff6d81270b5-9.el9_2.5Fixed 2024-11-19RHSA-2024:9956
Red Hat Enterprise Linux 9.4 Extended Update Supportedk2-0:20231122-6.el9_4.6Fixed 2024-11-19RHSA-2024:9921
Red Hat Enterprise Linux 10edk2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-38796.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON