Bug 1214516 (CVE-2020-18780) - VUL-0: CVE-2020-18780: nasm: use-afterfree in function new_Token in asm/preproc.c
Summary: VUL-0: CVE-2020-18780: nasm: use-afterfree in function new_Token in asm/prepr...
Status: RESOLVED FIXED
Alias: CVE-2020-18780
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/375941/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-23 08:51 UTC by Alexander Bergmann
Modified: 2023-08-23 08:54 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2023-08-23 08:51:25 UTC
CVE-2020-18780

A Use After Free vulnerability in function new_Token in asm/preproc.c in nasm
2.14.02 allows attackers to cause a denial of service via crafted nasm command.

The listed upstream bug (https://bugzilla.nasm.us/show_bug.cgi?id=3392634) was closed as DUPLICATE. The referenced bug report (https://bugzilla.nasm.us/show_bug.cgi?id=3392711) was already fixed with the following commit:

https://github.com/netwide-assembler/nasm/commit/7c88289e222dc5ef9f53f9e86ecaab1924744b88

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-18780
https://www.cve.org/CVERecord?id=CVE-2020-18780
https://bugzilla.nasm.us/show_bug.cgi?id=3392634
https://bugzilla.nasm.us/show_bug.cgi?id=3392711
Comment 1 Alexander Bergmann 2023-08-23 08:54:17 UTC
The fix is already present in:

SUSE:SLE-15-SP5:GA
SUSE:ALP:Source:Standard:1.0

Older code streams do not have the expand_one_smacro() function that introduced the issue.

SUSE:SLE-12:Update
SUSE:SLE-15:Update


Closing as bug as fixed.