Bug 2266790 (CVE-2024-25713)

Summary: CVE-2024-25713 yyjson: double free leading to remote code execution
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
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: 2266791    
Bug Blocks:    

Description Rohit Keshri 2024-02-29 04:45:34 UTC
yyjson through 0.8.0 has a double free, leading to remote code execution in some cases, because the pool_free function lacks loop checks. (pool_free is part of the pool series allocator, along with pool_malloc and pool_realloc.)

https://github.com/ibireme/yyjson/security/advisories/GHSA-q4m7-9pcm-fpxh

Comment 1 Rohit Keshri 2024-02-29 04:45:56 UTC
Created yyjson tracking bugs for this issue:

Affects: fedora-all [bug 2266791]