Bug 2254643 (CVE-2023-50472)

Summary: CVE-2023-50472 cjson: segmentation violation in function cJSON_SetValuestring
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bbuckingham, bcourt, ehelms, jsherril, lzap, mhulan, nmoumoul, orabin, pcreech, rchan
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 discovered in the cJSON package. Certain input conditions may trigger a null pointer dereference, which can lead to a denial of service.
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: 2254649, 2254650, 2254651    
Bug Blocks: 2254638    

Description Robb Gatica 2023-12-15 00:38:15 UTC
cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_SetValuestring at cJSON.c.

https://github.com/DaveGamble/cJSON/issues/803

Comment 2 Robb Gatica 2023-12-15 00:48:31 UTC
Created cjson tracking bugs for this issue:

Affects: epel-all [bug 2254649]
Affects: fedora-all [bug 2254650]

Comment 4 Eric Helms 2024-01-26 16:34:28 UTC
According to https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17 this has been fixed upstream.