Bug 2208602 (CVE-2023-31972) - CVE-2023-31972 yasm: use-after-free in pp_getline() in modules/preprocs/nasm/nasm-pp.c
Summary: CVE-2023-31972 yasm: use-after-free in pp_getline() in modules/preprocs/nasm/...
Keywords:
Status: NEW
Alias: CVE-2023-31972
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2208603 2208604 2208616 2208617
Blocks: 2196620
TreeView+ depends on / blocked
 
Reported: 2023-05-19 18:00 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-07-07 08:31 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2023-05-19 18:00:02 UTC
yasm v1.3.0 was discovered to contain a use after free via the function pp_getline at /nasm/nasm-pp.c.

Reference:
https://github.com/yasm/yasm/issues/209

Comment 1 Guilherme de Almeida Suckevicz 2023-05-19 18:00:23 UTC
Created yasm tracking bugs for this issue:

Affects: epel-all [bug 2208604]
Affects: fedora-all [bug 2208603]

Comment 3 Siddhesh Poyarekar 2023-05-19 19:31:31 UTC
This should be rejected as per yasm security policy, unless there's a way this could be exploited using *trusted* input:

https://github.com/yasm/yasm/blob/master/SECURITY.md


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