CVE-2021-32614
JSON

7.1high

A flaw was found in dmg2img through 20170502.

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.96% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
fedora

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.

Affected

Product or packageVersionsReported by
dmg2imgdmg2img through 20170502CVE List
dmg2img_project dmg2imgup to 20170502NVD

All scores

NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:N/A:P

Classification

What each source says

CVE List

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 (es)

Se encontró un fallo en dmg2img versiones hasta 20170502. La función fill_mishblk() no comprueba la longitud del búfer de lectura y copia 0xCC bytes de él. Un atacante controla la longitud del búfer. Al proporcionar una longitud menor que 0xCC, memcpy sale del límite malloc'ed. Esto posiblemente conlleva a un filtrado de información sobre el diseño de la memoria en los datos. Esto puede ser usado en una cadena de vulnerabilidad para alcanzar la ejecución del código

References

https://bugzilla.redhat.com/show_bug.cgi?id=1959911issue-tracking, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-32614 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-32614 changed 2026-06-17Public domain