Bug 2277268 (CVE-2024-31755) - CVE-2024-31755 cjson: segmentation violation trigger through the second parameter of function cJSON_SetValuestring at cJSON.c
Summary: CVE-2024-31755 cjson: segmentation violation trigger through the second param...
Keywords:
Status: NEW
Alias: CVE-2024-31755
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2277269 2277270 2277271 2277272 2277273 2277274
Blocks: 2277275
TreeView+ depends on / blocked
 
Reported: 2024-04-26 04:23 UTC by Rohit Keshri
Modified: 2025-06-12 14:50 UTC (History)
16 users (show)

Fixed In Version: cJSON 1.7.18
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:9022 0 None None None 2025-06-12 14:50:05 UTC

Description Rohit Keshri 2024-04-26 04:23:07 UTC
cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c.

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

Comment 1 Rohit Keshri 2024-04-26 04:26:32 UTC
Created cjson tracking bugs for this issue:

Affects: epel-all [bug 2277269]
Affects: fedora-all [bug 2277270]


Created mmc tracking bugs for this issue:

Affects: fedora-all [bug 2277271]

Comment 3 barsnick 2024-09-02 20:50:18 UTC
Nice with all the tracking bugs, but a fix has been available since April 26 2024, and a new release containing the fix since May 13.
https://github.com/DaveGamble/cJSON/releases/tag/v1.7.18

Why hasn't a new release of the packages been triggered?

Comment 5 errata-xmlrpc 2025-06-12 14:50:04 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.17 for RHEL 9

Via RHSA-2025:9022 https://access.redhat.com/errata/RHSA-2025:9022


Note You need to log in before you can comment on or make changes to this bug.