CVE-2024-45779 Grub2: fs/bfs: integer overflow leads to heap oob read in the bfs parser
MediumCVSS 6.0
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An integer overflow flaw was found in the BFS file system driver in grub2. When reading a file with an indirect extent map, grub2 fails to validate the number of extent entries to be read. A crafted or corrupted BFS filesystem may cause an integer overflow during the file reading, leading to a heap of bounds read. As a consequence, sensitive data may be leaked, or grub2 will crash.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux grub2(Azure Linux:3.0) | < 2.06-25 | 2.06-25 |
| cbl-mariner grub2(CBL-Mariner:2.0) | < 2.06-15 | 2.06-15 |
| debian/grub2(Debian:12) | < 2.06-13+deb12u2 | 2.06-13+deb12u2 |
| debian/grub2(Debian:12) | = 2.06-13 | No fix listed |
| debian/grub2(Debian:12) | = 2.06-13+deb12u1 | No fix listed |
| debian/grub2(Debian:13) | < 2.12-6 | 2.12-6 |
| debian/grub2(Debian:14) | < 2.12-6 | 2.12-6 |
| ubuntu/grub2-signed(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:22.04) | All versions | No fix listed |
| grub2 | <= 2.12 | No fix listed |
| redhat enterprise linux | = 10 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat openshift | = 4 | No fix listed |
| ubuntu/grub2-signed(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/grub2-signed(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/grub2-signed(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:26.10) | All versions | No fix listed |
| GNU grub2 | <= 2.12 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2024-45779 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- access.redhat.com third-party-advisory vdb-entry
- RHBZ#2345854 issue-tracking
- lists.gnu.org mailing-list
- bugs.debian.org issue-tracking