Host-process crash via unchecked floppy end-of-track
Published May 6, 2021 · Updated Aug 3, 2024
Heap buffer overflow in QEMU 6.0.0 and earlier allows guest OS users to crash the host process through crafted floppy DMA reads. The floppy controller derives the DMA transfer length from a guest-supplied end-of-track value without rejecting values beyond the disk geometry, causing a heap overrun. Privileged guest access and an emulated floppy controller are required; the documented impacts are a host-process crash and potential host-memory disclosure.
Summary
What happened
Heap buffer overflow in QEMU 6.0.0 and earlier allows guest OS users to crash the host process through crafted floppy DMA reads. The floppy controller derives the DMA transfer length from a guest-supplied end-of-track value without rejecting values beyond the disk geometry, causing a heap overrun. Privileged guest access and an emulated floppy controller are required; the documented impacts are a host-process crash and potential host-memory disclosure.
The record
- CVE
- CVE-2021-3507
- Published
- May 6, 2021
- Updated
- Aug 3, 2024
- Vendor
- QEMU Project
- Product
- QEMU
- Classifications
- CWE-119, CWE-787, T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- May 6, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=up to 6.0.0 (including)
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- QEMU issue 339 qtest reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo