CVE-2021-32614

Name
CVE-2021-32614
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://bugzilla.redhat.com/show_bug.cgi?id=1959911

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:dmg2img_project:dmg2img:*:*:*:*:*:*:*:* dmg2img >= None <= 20170502

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
dmg2img edge-community 1.6.7-r1 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
dmg2img 3.19-community 1.6.7-r1 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
dmg2img 3.20-community 1.6.7-r1 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable