Skip to content

CVE-2021-32614 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 provid...

HighCVSS 7.1 EPSS 0.96%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

12 packages: 1 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
debian/dmg2img(Debian 12) = 1.6.7+git20201227.a3e4134-0.1; = 1.6.7-1; All versions No fix listed No fix yet
debian/dmg2img(Debian 13) = 1.6.7+git20201227.a3e4134-0.1; All versions No fix listed No fix yet
debian/dmg2img(Debian 14) = 1.6.7+git20201227.a3e4134-0.1; All versions No fix listed No fix yet
ubuntu/dmg2img(Ubuntu 16.04) = 1.6.5-1; All versions No fix listed No fix yet
ubuntu/dmg2img(Ubuntu 18.04) = 1.6.5-1.1; = 1.6.7-1; = 1.6.7-1build1; All versions No fix listed No fix yet
ubuntu/dmg2img(Ubuntu 20.04) = 1.6.7-1build1; All versions No fix listed No fix yet
ubuntu/dmg2img(Ubuntu 22.04) = 1.6.7-1build1; = 1.6.7-1build2; All versions No fix listed No fix yet
ubuntu/dmg2img(Ubuntu 24.04) = 1.6.7-1build2; = 1.6.7-1build3; = 1.6.7-1build4; All versions No fix listed No fix yet
ubuntu/dmg2img(Ubuntu 25.10) = 1.6.7+git20201227.a3e4134-0.1; = 1.6.7-1build4; All versions No fix listed No fix yet
ubuntu/dmg2img(Ubuntu 26.04) = 1.6.7+git20201227.a3e4134-0.1; = 1.6.7+git20201227.a3e4134-0.1build1; All versions No fix listed No fix yet
ubuntu/dmg2img(Ubuntu 26.10) = 1.6.7+git20201227.a3e4134-0.1build1; = 1.6.7+git20201227.a3e4134-0.1build2; All versions No fix listed No fix yet
dmg2img project dmg2img <= 20170502 after 20170502 Fixed

Affected products

ProductAffected versionsFixed in
debian/dmg2img(Debian:12) All versions No fix listed
debian/dmg2img(Debian:12) = 1.6.7+git20201227.a3e4134-0.1 No fix listed
debian/dmg2img(Debian:12) = 1.6.7-1 No fix listed
debian/dmg2img(Debian:13) All versions No fix listed
debian/dmg2img(Debian:13) = 1.6.7+git20201227.a3e4134-0.1 No fix listed
debian/dmg2img(Debian:14) All versions No fix listed
debian/dmg2img(Debian:14) = 1.6.7+git20201227.a3e4134-0.1 No fix listed
ubuntu/dmg2img(Ubuntu:22.04) All versions No fix listed
dmg2img project dmg2img <= 20170502 No fix listed
ubuntu/dmg2img(Ubuntu:24.04) All versions No fix listed
ubuntu/dmg2img(Ubuntu:26.04) All versions No fix listed
ubuntu/dmg2img(Ubuntu:26.10) All versions No fix listed
ubuntu/dmg2img(Ubuntu:16.04) All versions No fix listed
ubuntu/dmg2img(Ubuntu:16.04) = 1.6.5-1 No fix listed
ubuntu/dmg2img(Ubuntu:18.04) All versions No fix listed
ubuntu/dmg2img(Ubuntu:18.04) = 1.6.5-1.1 No fix listed
ubuntu/dmg2img(Ubuntu:18.04) = 1.6.7-1 No fix listed
ubuntu/dmg2img(Ubuntu:18.04) = 1.6.7-1build1 No fix listed
ubuntu/dmg2img(Ubuntu:20.04) All versions No fix listed
ubuntu/dmg2img(Ubuntu:20.04) = 1.6.7-1build1 No fix listed
ubuntu/dmg2img(Ubuntu:22.04) = 1.6.7-1build1 No fix listed
ubuntu/dmg2img(Ubuntu:22.04) = 1.6.7-1build2 No fix listed
ubuntu/dmg2img(Ubuntu:24.04) = 1.6.7-1build2 No fix listed
ubuntu/dmg2img(Ubuntu:24.04) = 1.6.7-1build3 No fix listed
ubuntu/dmg2img(Ubuntu:24.04) = 1.6.7-1build4 No fix listed
Show 7 more
ProductAffected versionsFixed in
ubuntu/dmg2img(Ubuntu:25.10) All versions No fix listed
ubuntu/dmg2img(Ubuntu:25.10) = 1.6.7-1build4 No fix listed
ubuntu/dmg2img(Ubuntu:25.10) = 1.6.7+git20201227.a3e4134-0.1 No fix listed
ubuntu/dmg2img(Ubuntu:26.10) = 1.6.7+git20201227.a3e4134-0.1build1 No fix listed
ubuntu/dmg2img(Ubuntu:26.10) = 1.6.7+git20201227.a3e4134-0.1build2 No fix listed
ubuntu/dmg2img(Ubuntu:26.04) = 1.6.7+git20201227.a3e4134-0.1 No fix listed
ubuntu/dmg2img(Ubuntu:26.04) = 1.6.7+git20201227.a3e4134-0.1build1 No fix listed

References