CVE-2021-45423

A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp->NumberOfFunctions as its size. However, the loop uses exp->NumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp->NumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.
References
Link Resource
https://github.com/merces/libpe/issues/35 Exploit Vendor Advisory
https://github.com/merces/libpe/issues/35 Exploit Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:pev_project:pev:0.81:*:*:*:*:*:*:*

History

21 Nov 2024, 06:32

Type Values Removed Values Added
References () https://github.com/merces/libpe/issues/35 - Exploit, Vendor Advisory () https://github.com/merces/libpe/issues/35 - Exploit, Vendor Advisory

Information

Published : 2023-03-13 18:15

Updated : 2024-11-21 06:32


NVD link : CVE-2021-45423

Mitre link : CVE-2021-45423

CVE.ORG link : CVE-2021-45423


JSON object : View

Products Affected

pev_project

  • pev
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')