Out-of-bounds Read in Dmg2img Project
CVE-2021-32614
A flaw was found in dmg2img through 20170502. fill_mishblk() does not check the length of the read buffer, and copy 0xCC bytes from it. The length of the buffer is controlled by an attacker. By providing a length smaller than 0xCC, memcpy reaches out of the malloc'ed bound. This possibly leads to memory layout information leaking in the data. This might be used in a chain of vulnerability in order to reach code execution.
Vulnerability class: Buffer Overflow
EPSS: 0.009 (57.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H.
Affected products
- Dmg2img_project Dmg2img
- N/a Dmg2img — versions dmg2img through 20170502
Weakness classification (CWE)
Public proof-of-concept exploits
References
- patrick@puiterwijk.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
Frequently asked questions
- What is CVE-2021-32614?
- CVE-2021-32614 is a high-severity vulnerability in Dmg2img Project, classified under Out-of-bounds Read. CVSS score: 7.1/10. Published 2021-05-26.
- How severe is CVE-2021-32614?
- High severity. CVSS v3 base score is 7.1 out of 10.
- Is CVE-2021-32614 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.