CVE-2021-45423

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-45423
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45423.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-45423
Related
Published
2023-03-13T18:15:12Z
Modified
2024-09-18T03:17:03.668789Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A Buffer Overflow vulnerabilityexists in Pev 0.81 via the peexports function from exports.c.. The array offsetsto_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

Affected packages

Debian:11 / pev

Package

Name
pev
Purl
pkg:deb/debian/pev?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.81-3+deb11u1

Affected versions

0.*

0.81-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / pev

Package

Name
pev
Purl
pkg:deb/debian/pev?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.81-9

Ecosystem specific

{
    "urgency": "not yet assigned"
}