Bug 1790845 (CVE-2019-20352) - CVE-2019-20352 nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c
Summary: CVE-2019-20352 nasm: heap-based buffer over-read in set_text_free when called...
Keywords:
Status: NEW
Alias: CVE-2019-20352
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1790847 1791605 1791606
Blocks: 1790868
TreeView+ depends on / blocked
 
Reported: 2020-01-14 11:46 UTC by Marian Rehak
Modified: 2022-08-30 12:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Marian Rehak 2020-01-14 11:46:37 UTC
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.

Upstream Issue:

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

Comment 1 Marian Rehak 2020-01-14 11:47:40 UTC
Created nasm tracking bugs for this issue:

Affects: fedora-all [bug 1790847]

Comment 2 Huzaifa S. Sidhpurwala 2020-01-16 08:48:27 UTC
Nasm is an assembler/disassembler for Intel x86 architecture. This flaw can be triggered when nasm is used to assemble a malicious assembly instructions file. These operations are usually done by developers or users have local shell accounts. Also since this is an OOB read flaw, it can only cause a crash.


Note You need to log in before you can comment on or make changes to this bug.