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...
CriticalCVSS 9.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
13 packages: 8 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/pev(Ubuntu 16.04) | = 0.40-1; All versions | No fix listed | No fix yet |
| ubuntu/pev(Ubuntu 18.04) | = 0.80-3; = 0.80-4; = 0.80-4build1; All versions | No fix listed | No fix yet |
| ubuntu/pev(Ubuntu 20.04) | = 0.80-4build1; All versions | No fix listed | No fix yet |
| ubuntu/pev(Ubuntu 22.04) | = 0.81-3; = 0.81-6; = 0.81-6build1; = 0.81-7 +1 more | No fix listed | No fix yet |
| alpine/pev(Alpine v3.18) | < 0.82-r0 | 0.82-r0 | Fixed |
| alpine/pev(Alpine v3.19) | < 0.82-r0 | 0.82-r0 | Fixed |
| alpine/pev(Alpine v3.20) | < 0.82-r0 | 0.82-r0 | Fixed |
| alpine/pev(Alpine v3.21) | < 0.82-r0 | 0.82-r0 | Fixed |
| alpine/pev(Alpine v3.22) | < 0.82-r0 | 0.82-r0 | Fixed |
| alpine/pev(Alpine v3.23) | < 0.82-r0 | 0.82-r0 | Fixed |
| alpine/pev(Alpine v3.24) | < 0.82-r0 | 0.82-r0 | Fixed |
| debian/pev(Debian 12) | < 0.81-9 | 0.81-9 | Fixed |
| pev project pev | = 0.81 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pev(Debian:12) | < 0.81-9 | 0.81-9 |
| ubuntu/pev(Ubuntu:22.04) | All versions | No fix listed |
| pev project pev | = 0.81 | No fix listed |
| alpine/pev(Alpine:v3.18) | < 0.82-r0 | 0.82-r0 |
| alpine/pev(Alpine:v3.19) | < 0.82-r0 | 0.82-r0 |
| alpine/pev(Alpine:v3.20) | < 0.82-r0 | 0.82-r0 |
| alpine/pev(Alpine:v3.21) | < 0.82-r0 | 0.82-r0 |
| alpine/pev(Alpine:v3.22) | < 0.82-r0 | 0.82-r0 |
| alpine/pev(Alpine:v3.23) | < 0.82-r0 | 0.82-r0 |
| alpine/pev(Alpine:v3.24) | < 0.82-r0 | 0.82-r0 |
| ubuntu/pev(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/pev(Ubuntu:16.04) | = 0.40-1 | No fix listed |
| ubuntu/pev(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/pev(Ubuntu:18.04) | = 0.80-3 | No fix listed |
| ubuntu/pev(Ubuntu:18.04) | = 0.80-4 | No fix listed |
| ubuntu/pev(Ubuntu:18.04) | = 0.80-4build1 | No fix listed |
| ubuntu/pev(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/pev(Ubuntu:20.04) | = 0.80-4build1 | No fix listed |
| ubuntu/pev(Ubuntu:22.04) | = 0.81-3 | No fix listed |
| ubuntu/pev(Ubuntu:22.04) | = 0.81-6 | No fix listed |
| ubuntu/pev(Ubuntu:22.04) | = 0.81-6build1 | No fix listed |
| ubuntu/pev(Ubuntu:22.04) | = 0.81-7 | No fix listed |
References
- Debian Security Tracker CVE-2021-45423 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com exploit issue-tracking vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking