CVE-2021-32614: dmg2img - Information Disclosure
- Cve: CVE-2021-32614
- Name: dmg2img - Information Disclosure
- Description: 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.
- Impact: Memory layout information can be leaked, potentially aiding further exploitation or code execution.
- Remediation: Update to the latest version of dmg2img that addresses this issue or apply patches that fix buffer length checks in fill_mishblk().
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Epss score: 0.00961
- Epss percentile: 0.62317
- Assignee: [email protected]
- Published at: 2021-05-26T22:15:08Z
- Age in days: 2008
- Modified at: 2026-06-17T03:53:16Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32614
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
| Url | Source | Tags |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1959911 | nvd | Issue Tracking, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dmg2img_project:dmg2img | <= 20170502 | no | nvd | /v1/products/dmg2img_project/dmg2img |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts