Bug 2160381 (CVE-2023-23456)

Summary: CVE-2023-23456 upx: heap-buffer-overflow in PackTmt::pack()
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer overflow issue was discovered in UPX in PackTmt::pack() in p_tmt.cpp file. The flow allows an attacker to cause a denial of service (abort) via a crafted file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-14 04:30:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2160383, 2160384    
Bug Blocks: 2154251    

Description TEJ RATHI 2023-01-12 08:26:09 UTC
An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.1. The flow allows attackers to cause a denial of service (abort) via a crafted file.

https://github.com/upx/upx/issues/632
https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4

Comment 1 TEJ RATHI 2023-01-12 08:26:36 UTC
Created upx tracking bugs for this issue:

Affects: epel-all [bug 2160384]
Affects: fedora-all [bug 2160383]

Comment 2 Product Security DevOps Team 2023-01-14 04:30:53 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.