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.
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1959911 | Issue Tracking Third Party Advisory |
Configurations
History
No history.
Information
Published : 2021-05-26 22:15
Updated : 2024-02-28 18:28
NVD link : CVE-2021-32614
Mitre link : CVE-2021-32614
CVE.ORG link : CVE-2021-32614
JSON object : View
Products Affected
dmg2img_project
- dmg2img
CWE
CWE-125
Out-of-bounds Read