Bug 2259116 (CVE-2023-51258)

Summary: CVE-2023-51258 yasm: memory leak issue discovered in YASM v.1.3.0 allows a local attacker to cause a dos
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: nickc
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A memory leak issue was found in YASM. This flaw allows a local attacker to cause a denial of service via the new_Token function in the modules/preprocs/nasm/nasm-pp:1512.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2259118, 2259119    
Bug Blocks: 2259115    

Description Rohit Keshri 2024-01-19 07:51:47 UTC
A memory leak issue discovered in YASM v.1.3.0 allows a local attacker to cause a denial of service via the new_Token function in the modules/preprocs/nasm/nasm-pp:1512.

https://github.com/hanxuer/crashes/blob/main/yasm/04/readme.md

Comment 1 Rohit Keshri 2024-01-19 07:55:50 UTC
Created yasm tracking bugs for this issue:

Affects: epel-all [bug 2259118]
Affects: fedora-all [bug 2259119]

Comment 3 Nick Clifton 2024-01-19 10:42:56 UTC
Note - per yasm's own security.md document only bugs that cause corrupt output are considered to be security issues.  Since this bug is just a memory leak - and not a very big one at that, just 49 bytes - this issue should not be a CVE, and definitely should not have a medium priority.

Comment 4 Sandipan Roy 2024-01-19 12:03:57 UTC
Red Hat Product Security does not consider this to be a vulnerability.