UBUNTU-CVE-2021-45423

Source
https://ubuntu.com/security/CVE-2021-45423
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45423.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-45423
Related
Published
2023-03-13T18:15:00Z
Modified
2024-10-15T14:08:30Z
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

Ubuntu:Pro:16.04:LTS / pev

Package

Name
pev
Purl
pkg:deb/ubuntu/pev?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.40-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / pev

Package

Name
pev
Purl
pkg:deb/ubuntu/pev?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.80-3
0.80-4
0.80-4build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / pev

Package

Name
pev
Purl
pkg:deb/ubuntu/pev?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.80-4build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / pev

Package

Name
pev
Purl
pkg:deb/ubuntu/pev?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.81-3
0.81-6
0.81-6build1
0.81-7

Ecosystem specific

{
    "ubuntu_priority": "medium"
}