{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-38797 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-38797 is a medium-severity memory corruption vulnerability in TianoCore EDK2, published on 7 Apr 2025. 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-38797 and fix it if it is affected.\n\nWhat it is: CVE-2024-38797 is a medium-severity memory corruption vulnerability in TianoCore EDK2, published on 7 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-38797 in the wild and no public exploit code.\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-38797/ (Markdown: https://insights.sbomify.com/CVE-2024-38797/index.md)","id":"CVE-2024-38797","markdown":"https://insights.sbomify.com/CVE-2024-38797/index.md","name":"CVE-2024-38797","record":{"aliases":["DEBIAN-CVE-2024-38797","GHSA-4wjw-6xmf-44xf","OESA-2025-1503","UBUNTU-CVE-2024-38797"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"UEFI firmware","requires_auth":"low_privilege","summary":"An out-of-bounds read in EDK2 allows attackers to cause integrity loss or denial of service via corrupted network data.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"TianoCore","cpe":[],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"EDK2 contains a vulnerability in the HashPeImageByType(). A user may cause a read out of bounds when a corrupted data pointer and length are sent via an adjecent network. A successful exploit of this vulnerability may lead to a loss of Integrity and/or Availability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Out-of-bounds Read in HashPeImageByType()","id":"CVE-2024-38797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Uncleared password keystrokes in circular queue can lead to information disclosure or escalation of privilege","id":"CVE-2024-38798"},"packages":[],"prev":{"headline":"Integer overflow in PeCoffLoaderRelocateImage","id":"CVE-2024-38796"},"products":["EDK2"],"published":"2025-04-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-08","vendors":["TianoCore"]},"summary":"An out-of-bounds read in EDK2 allows attackers to cause integrity loss or denial of service via corrupted network data.","url":"https://insights.sbomify.com/CVE-2024-38797/"}