Bug 2208611 (CVE-2023-31975) - CVE-2023-31975 yasm: memory leak in yasm_intnum_copy() in libyasm/intnum.c
Summary: CVE-2023-31975 yasm: memory leak in yasm_intnum_copy() in libyasm/intnum.c
Keywords:
Status: NEW
Alias: CVE-2023-31975
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: 2208612 2208613 2208622 2208623
Blocks: 2196620
TreeView+ depends on / blocked
 
Reported: 2023-05-19 18:00 UTC by Guilherme de Almeida Suckevicz
Modified: 2024-03-22 11:44 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2023-05-19 18:00:35 UTC
yasm v1.3.0 was discovered to contain a memory leak via the function yasm_intnum_copy at /libyasm/intnum.c.

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

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

Affects: epel-all [bug 2208613]
Affects: fedora-all [bug 2208612]

Comment 3 Siddhesh Poyarekar 2023-05-19 19:32:10 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

Comment 7 Dominik 'Rathann' Mierzejewski 2024-03-22 11:44:39 UTC
Fixed in: https://github.com/yasm/yasm/pull/231/commits/168febbc155c832439be9500452ebe39994d2309 .


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