Bug 2210236 (CVE-2023-31725)

Summary: CVE-2023-31725 yasm: heap use-after-free in expand_mmac_params() in nasm-pp.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: nickc, sipoyare
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A heap use-after-free issue was discovered in Yasm's expand_mmac_params() function in nasm-pp.c file. An attacker could exploit this vulnerability by tricking a user into opening specially crafted file, triggering an out-of-bounds read access, causing an application to halt or crash, leading to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2210246, 2210245, 2210247, 2210248    
Bug Blocks: 2208018    

Description TEJ RATHI 2023-05-26 08:45:12 UTC
yasm 1.3.0.55.g101bc was discovered to contain a heap-use-after-free via the function expand_mmac_params at yasm/modules/preprocs/nasm/nasm-pp.c.

https://github.com/yasm/yasm/issues/221
https://github.com/DaisyPo/fuzzing-vulncollect/tree/main/yasm/heap-use-after-free/nasm-pp.c:3878%20in%20expand_mmac_params

Comment 1 TEJ RATHI 2023-05-26 09:24:59 UTC
Created yasm tracking bugs for this issue:

Affects: epel-all [bug 2210246]
Affects: fedora-all [bug 2210245]