{"affected":[{"defaultStatus":"unaffected","ecosystem":"https://www.gnu.org/software/grub/","packageName":"grub2","product":"","source":"CNA: redhat","vendor":"","versions":[{"lessThanOrEqual":"2.12","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"grub2","product":"Red Hat Enterprise Linux 10","source":"CNA: redhat","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"grub2","product":"Red Hat Enterprise Linux 7","source":"CNA: redhat","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"grub2","product":"Red Hat Enterprise Linux 8","source":"CNA: redhat","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"grub2","product":"Red Hat Enterprise Linux 9","source":"CNA: redhat","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"openshift/ose-rhel-coreos-9","product":"Red Hat OpenShift Container Platform 4","source":"CNA: redhat","vendor":"Red Hat","versions":[]}],"cveId":"CVE-2024-45780","cwes":["CWE-787"],"description":"A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against possible integer overflows. It's possible to cause the allocation length to overflow with a crafted tar file, leading to a heap out-of-bounds write. This flaw eventually allows an attacker to circumvent secure boot protections.","epss":{"date":"2026-11-04","percentile":0.22031,"score":0.00293},"exploits":[],"kev":null,"metrics":[{"score":6.7,"severity":"medium","source":"CNA: redhat","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793883061937,"publishedAt":1741011530957,"references":[{"source":"CNA: redhat","tags":["vdb-entry","x_refsource_REDHAT"],"url":"https://access.redhat.com/security/cve/CVE-2024-45780"},{"source":"CNA: redhat","tags":["issue-tracking","x_refsource_REDHAT"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2345856"},{"source":"CNA: redhat","tags":[],"url":"https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html"}],"remediation":[{"kind":"workaround","source":"CNA: redhat","text":"Do not run grub2 in an untrusted environment, specifically with a tar file system image."}],"revision":"3e7024f7609ef8ff3db5da4564665a3c1ed68c40724f67b3148d37d6c1ff1fd7","sources":[{"modifiedAt":1793883061937,"name":"CNA: redhat","retrievedAt":1793884146233,"url":"https://www.cve.org/CVERecord?id=CVE-2024-45780"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793884201163,"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-45780"}],"ssvc":{"assessedAt":1741014457406,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Grub2: fs/tar: integer overflow causes heap oob write","updatedAt":1793884201163}