Bug 1872803 (CVE-2020-24241)

Summary: CVE-2020-24241 nasm: use-after-free in saa_wbytes function in nasmlib/saa.c
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-28 01:17:31 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: 1872804    
Bug Blocks: 1872807    

Description Guilherme de Almeida Suckevicz 2020-08-26 16:20:58 UTC
In Netwide Assembler (NASM) 2.15rc10, there is heap use-after-free in saa_wbytes in nasmlib/saa.c.

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

Upstream patch:
https://github.com/netwide-assembler/nasm/commit/6ac6ac57e3d01ea8ed4ea47706eb724b59176461

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

Affects: fedora-all [bug 1872804]

Comment 3 Todd Cullum 2020-08-27 19:29:48 UTC
Statement:

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

Comment 4 Product Security DevOps Team 2020-08-28 01:17:31 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-24241