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
Information
Published : 2021-05-26 15:15
Updated : 2021-06-03 11:47
NVD link : CVE-2021-32614
Mitre link : CVE-2021-32614
JSON object : View
CWE
CWE-125
Out-of-bounds Read
Products Affected
dmg2img_project
- dmg2img