{"schemaVersion":3,"id":"OPENSUSE-SU-2024:0139-1","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Security update for cJSON\n\nThis update for cJSON fixes the following issues:\n\n- Update to 1.7.18:\n  * CVE-2024-31755: NULL pointer dereference via cJSON_SetValuestring() (boo#1223420)\n  * Remove non-functional list handling of compiler flags\n  * Fix heap buffer overflow\n  * remove misused optimization flag -01\n  * Set free'd pointers to NULL whenever they are not reassigned\n    immediately after\n\n- Update to version 1.7.17 (boo#1218098, CVE-2023-50472,\n    boo#1218099, CVE-2023-50471):\n  * Fix null reference in cJSON_SetValuestring (CVE-2023-50472).\n  * Fix null reference in cJSON_InsertItemInArray (CVE-2023-50471).\n\n- Update to 1.7.16:\n  * Add an option for ENABLE_CJSON_VERSION_SO in CMakeLists.txt\n  * Add cmake_policy to CMakeLists.txt\n  * Add cJSON_SetBoolValue\n  * Add meson documentation\n  * Fix memory leak in merge_patch\n  * Fix conflicting target names 'uninstall'\n  * Bump cmake version to 3.0 and use new version syntax\n  * Print int without decimal places\n  * Fix 'cjson_utils-static' target not exist\n  * Add allocate check for replace_item_in_object\n  * Fix a null pointer crash in cJSON_ReplaceItemViaPointer","dates":{"published":"2024-05-25T08:47:48.000Z","modified":"2026-02-04T03:51:15.787Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"opensuse","product":"cJSON&distro=openSUSE Leap 15.5","name":"cJSON","label":"cJSON&distro=openSUSE Leap 15.5","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/cJSON&distro=openSUSE Leap 15.5","purlType":"rpm","versions":[{"text":"< 1.7.18-bp155.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.18-bp155.3.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"cJSON&distro=SUSE Package Hub 15 SP5","name":"cJSON","label":"cJSON&distro=SUSE Package Hub 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/cJSON&distro=SUSE Package Hub 15 SP5","purlType":"rpm","versions":[{"text":"< 1.7.18-bp155.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.18-bp155.3.3.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/36QNMKFWNRJX3XHLNGZ3DNLMLIHSRF4U/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1218098","label":"bugzilla.suse.com/1218098","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1218099","label":"bugzilla.suse.com/1218099","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1223420","label":"bugzilla.suse.com/1223420","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2023-50471","label":"www.suse.com/security/cve/CVE-2023-50471","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/security/cve/CVE-2023-50472","label":"www.suse.com/security/cve/CVE-2023-50472","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/security/cve/CVE-2024-31755","label":"www.suse.com/security/cve/CVE-2024-31755","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":["CVE-2023-50471","CVE-2023-50472","CVE-2024-31755"],"downstream":[],"duplicates":[],"related":["CVE-2023-50471","CVE-2023-50472","CVE-2024-31755"]},"timeline":[{"kind":"published","date":"2024-05-25T08:47:48.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-04T03:51:15.787Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T10:35:18.544Z","stale":false,"partial":false}}