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 package | Versions | Reported by |
|---|---|---|
| dmg2img | dmg2img through 20170502 | CVE List |
| dmg2img_project dmg2img | up to 20170502 | NVD |
All scores
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | 5.8medium CVSS:2.0 | AV: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=1959911 | issue-tracking, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32614 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-32614 changed 2026-06-17 | Public domain |