Bug 2368279 (CVE-2023-53154)

Summary: CVE-2023-53154 cjson: Heap based buffer overflow at cJSON_ParseWithLength function
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: anthomas, caswilli, ehelms, ggainey, juwatts, kaycoth, mhulan, nmoumoul, osousa, pcreech, rchan, smallamp
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A heap based buffer overflow flaw was found in cjson when calling the cJSON_ParseWithLength function. Specially crafted input may lead to arbitrary memory corruption.
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: 2368313, 2368314, 2368315    
Bug Blocks:    

Description OSIDB Bzimport 2025-05-23 16:01:17 UTC
parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called.