CVEvulnerability
CVE-2021-32614
7.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-05-26
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:P
- Weaknesses
- CWE-125
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.
Affected configurations
• dmg2img project dmg2img (<= 20170502)
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1959911 Issue Tracking, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1959911 Issue Tracking, Third Party Advisory