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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-19452 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: fedora

Published:

Updated: 2024-08-03T23:25:30.625Z

Reserved: 2021-05-12T00:00:00

Link: CVE-2021-32614

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-05-26T22:15:08.193

Modified: 2024-11-21T06:07:23.007

Link: CVE-2021-32614

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses