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, tsweeney, 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: 2221250, 2221252, 2221253, 2222241, 2222242    
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]

Comment 8 errata-xmlrpc 2023-11-07 08:19:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6551 https://access.redhat.com/errata/RHSA-2023:6551

Comment 9 errata-xmlrpc 2023-11-14 15:19:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7057 https://access.redhat.com/errata/RHSA-2023:7057

Comment 17 errata-xmlrpc 2024-04-25 15:07:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:2063 https://access.redhat.com/errata/RHSA-2024:2063

Comment 18 errata-xmlrpc 2024-04-30 15:04:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:2580 https://access.redhat.com/errata/RHSA-2024:2580