openSUSE-SU-2024:0139-1
openSUSE-SU-2024:0139-1 · Security update: cJSON
Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- cjson SUSE Package Hub 15 SP5Update to 1.7.18-bp155.3.3.1
- cjson openSUSE Leap 15.5Update to 1.7.18-bp155.3.3.1
Check the installed version:
rpm -q cjsonAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from the distribution’s bulletin. Check the original advisory before installing the update.
This update for cJSON fixes the following issues:
- Update to 1.7.18:
- CVE-2024-31755: NULL pointer dereference via cJSON_SetValuestring() (boo#1223420)
- Remove non-functional list handling of compiler flags
- Fix heap buffer overflow
- remove misused optimization flag -01
- Set free'd pointers to NULL whenever they are not reassigned immediately after
- Update to version 1.7.17 (boo#1218098, CVE-2023-50472, boo#1218099, CVE-2023-50471):
- Fix null reference in cJSON_SetValuestring (CVE-2023-50472).
- Fix null reference in cJSON_InsertItemInArray (CVE-2023-50471).
- Update to 1.7.16:
- Add an option for ENABLE_CJSON_VERSION_SO in CMakeLists.txt
- Add cmake_policy to CMakeLists.txt
- Add cJSON_SetBoolValue
- Add meson documentation
- Fix memory leak in merge_patch
- Fix conflicting target names 'uninstall'
- Bump cmake version to 3.0 and use new version syntax
- Print int without decimal places
- Fix 'cjson_utils-static' target not exist
- Add allocate check for replace_item_in_object
- Fix a null pointer crash in cJSON_ReplaceItemViaPointer
- Published
- Updated
Vulnerabilities closed
Stack: system
Updated packages and versions
Original sources
- https://lists.opensuse.org/archives/list/[email protected]/thread/36QNMKFWNRJX3XHLNGZ3DNLMLIHSRF4U/
- https://bugzilla.suse.com/1218098
- https://bugzilla.suse.com/1218099
- https://bugzilla.suse.com/1223420
- https://www.suse.com/security/cve/CVE-2023-50471
- https://www.suse.com/security/cve/CVE-2023-50472
- https://www.suse.com/security/cve/CVE-2024-31755
- https://osv.dev/vulnerability/openSUSE-SU-2024:0139-1