Bug 1478913 - nasm: "paste_tokens()" heap-based buffer overflow
Summary: nasm: "paste_tokens()" heap-based buffer overflow
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1472886
TreeView+ depends on / blocked
 
Reported: 2017-08-07 13:34 UTC by Stefan Cornelius
Modified: 2023-09-25 05:57 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-07 13:41:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Stefan Cornelius 2017-08-07 13:34:36 UTC
A heap-based buffer overflow was reported in the "paste_tokens()" function in asm/preproc.c of nasm. An attacker could exploit this flaw to cause a crash or, possible, execute arbitrary code by tricking a user to process a specially crafted file using nasm.

External references:

Upstream bug report:
https://bugzilla.nasm.us/show_bug.cgi?id=3392415

Patch:
http://repo.or.cz/nasm.git/blobdiff/20d9c86eb1e088efe0093b31f6fb0952971566f1..f9ec5bbd2af6ff5276f1fd5ab52df4ed7b096344:/asm/preproc.c

Comment 2 Stefan Cornelius 2017-08-07 13:41:13 UTC
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


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