Bug 1872747 (CVE-2020-24242)

Summary: CVE-2020-24242 nasm: segmentation fault in tok_text function in asm/preproc.c by accessing read memory
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dominik, igor.raits, java-sig-commits, mizdebsk, nickc, pbonzini
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nasm 2.15.05rc1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-27 19:17:32 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: 1872805    
Bug Blocks: 1872807    

Description Guilherme de Almeida Suckevicz 2020-08-26 14:35:26 UTC
In Netwide Assembler (NASM) 2.15rc10, SEGV can be triggered in tok_text in asm/preproc.c by accessing READ memory.

Reference:
https://bugzilla.nasm.us/show_bug.cgi?id=3392708

Upstream patch:
https://github.com/netwide-assembler/nasm/commit/6299a3114ce0f3acd55d07de201a8ca2f0a83059

Comment 1 Guilherme de Almeida Suckevicz 2020-08-26 16:22:25 UTC
Created nasm tracking bugs for this issue:

Affects: fedora-all [bug 1872805]

Comment 2 Todd Cullum 2020-08-27 18:44:50 UTC
Statement:

nasm as shipped with Red Hat Enterprise Linux 7 and 8 is not affected by this flaw because the vulnerable code was introduced in a newer version of nasm.

Comment 5 Product Security DevOps Team 2020-08-27 19:17:32 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-24242