CVE Vulnerabilities

CVE-2020-27797

Release of Invalid Pointer or Reference

Published: Aug 25, 2022 | Modified: Aug 27, 2022
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

An invalid memory address reference was discovered in the elf_lookup function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.

Weakness

The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly.

Affected Software

Name Vendor Start Version End Version
Upx Upx_project 4.0.0 (including) 4.0.0 (including)
Upx-ucl Ubuntu bionic *
Upx-ucl Ubuntu kinetic *
Upx-ucl Ubuntu lunar *
Upx-ucl Ubuntu mantic *
Upx-ucl Ubuntu trusty *
Upx-ucl Ubuntu xenial *

Extended Description

This weakness can take several forms, such as:

Potential Mitigations

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, glibc in Linux provides protection against free of invalid pointers.

References