Heap-data disclosure via unchecked fixed-length copy
Published May 26, 2021 · Updated Aug 3, 2024
Out-of-bounds read in dmg2img through 20170502 allows local users to crash the converter by processing a crafted DMG archive. The fill_mishblk function copies a fixed 0xCC bytes from an attacker-controlled heap buffer without verifying that the allocation is that large. Processing the file requires user interaction; the out-of-bounds bytes can also disclose adjacent heap data, but no code execution is demonstrated.
Summary
What happened
Out-of-bounds read in dmg2img through 20170502 allows local users to crash the converter by processing a crafted DMG archive. The fill_mishblk function copies a fixed 0xCC bytes from an attacker-controlled heap buffer without verifying that the allocation is that large. Processing the file requires user interaction; the out-of-bounds bytes can also disclose adjacent heap data, but no code execution is demonstrated.
The record
- CVE
- CVE-2021-32614
- Published
- May 26, 2021
- Updated
- Aug 3, 2024
- Vendor
- dmg2img Project
- Product
- dmg2img
- Classifications
- CWE-125, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 26, 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=dmg2img through 20170502
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.
Public exploit references
- heap-overflow-dmg2img-188 proof of conceptproof 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