Bug 2185861 (CVE-2021-43315)

Summary: CVE-2021-43315 upx: heap-based buffer overflow in PackLinuxElf32::elf_lookup() at p_lx_elf.cpp
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jreiser
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-11 18:06:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2185867, 2185866    
Bug Blocks: 2181820    

Description TEJ RATHI 2023-04-11 12:51:41 UTC
A heap-based buffer overflows was discovered in upx, during the generic pointer 'p' points to an inaccessible address in func get_le32(). The problem is essentially caused in PackLinuxElf32::elf_lookup() at p_lx_elf.cpp:5349


Comment 1 TEJ RATHI 2023-04-11 12:59:38 UTC
Created upx tracking bugs for this issue:

Affects: epel-all [bug 2185867]
Affects: fedora-all [bug 2185866]

Comment 2 Product Security DevOps Team 2023-04-11 18:06:45 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 3 John Reiser 2023-04-17 18:29:03 UTC
Verified closed in official release upx-4.0.2 of Jan.30, 2023.  See https://github.com/upx/upx/issues/380#issuecomment-1511845513 .