Bug 2221249 (CVE-2023-33460)

Summary: CVE-2023-33460 yajl: Memory leak in yajl_tree_parse function
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, berrange, jburrell, jnovy, nweather, stcannon, trathi, yguenane
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 flaw was found in the yajl library, which exists due to a memory leak within the yajl_tree_parse() function. This flaw allows a remote attacker to parse malicious JSON input to cause out-of-memory in the server, causing a crash, resulting in a denial of service attack.
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: 2221252, 2221253, 2222242, 2221250, 2222241    
Bug Blocks: 2221254    

Description Pedro Sampaio 2023-07-07 16:29:51 UTC
There's a memory leak in yajl 2.1.0 with use of yajl_tree_parse function. which will cause out-of-memory in server and cause crash.

References:

https://github.com/lloyd/yajl/issues/250

Comment 1 Pedro Sampaio 2023-07-07 16:30:03 UTC
Created yajl tracking bugs for this issue:

Affects: fedora-all [bug 2221250]

Comment 5 TEJ RATHI 2023-07-12 11:41:57 UTC
Created R-jsonlite tracking bugs for this issue:

Affects: fedora-38 [bug 2222241]