ID CVE-2021-32614
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:dmg2img_project:dmg2img:-:*:*:*:*:*:*:*
    cpe:2.3:a:dmg2img_project:dmg2img:-:*:*:*:*:*:*:*
  • cpe:2.3:a:dmg2img_project:dmg2img:20170502:*:*:*:*:*:*:*
    cpe:2.3:a:dmg2img_project:dmg2img:20170502:*:*:*:*:*:*:*
CVSS
Base: 5.8 (as of 03-06-2021 - 18:47)
Impact:
Exploitability:
CWE CWE-125
CAPEC
  • Infiltration of Hardware Development Environment
    An attacker, leveraging the ability to manipulate components of primary support systems and tools within the development and production environments, inserts malicious software within the hardware and/or firmware development environment. The infiltration purpose is to alter developed hardware components in a system destined for deployment at the victim's organization, for the purpose of disruption or further compromise.
  • Overread Buffers
    An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:P/I:N/A:P
Last major update 03-06-2021 - 18:47
Published 26-05-2021 - 22:15
Last modified 03-06-2021 - 18:47
Back to Top