Bug 2210234 (CVE-2023-31724)

Summary: CVE-2023-31724 yasm: null pointer dereference in do_directive() at nasm/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 null pointer dereference issue was discovered in Yasm's do_directive() function in nasm/nasm-pp.c file. An attacker could exploit this vulnerability by tricking a user into opening specially crafted file, 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: 2210245, 2210246, 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 segmentation violation via the function do_directive at /nasm/nasm-pp.c.

https://github.com/yasm/yasm/issues/222
https://github.com/DaisyPo/fuzzing-vulncollect/tree/main/yasm/SEGV/nasm-pp.c:3570%20in%20do_directive

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

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