CVE-2021-45423

Name
CVE-2021-45423
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/merces/libpe/issues/35

Match rules

CPE URI Source package Min version Max version

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
pev edge-community 0.82-r0 TBK <alpine@jjtc.eu> fixed
pev 3.18-community 0.82-r0 TBK <alpine@jjtc.eu> fixed
pev 3.19-community 0.82-r0 TBK <alpine@jjtc.eu> fixed
pev 3.20-community 0.82-r0 TBK <alpine@jjtc.eu> fixed