Bug 2277269

Summary: CVE-2024-31755 cjson: segmentation violation trigger through the second parameter of function cJSON_SetValuestring at cJSON.c [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Rohit Keshri <rkeshri>
Component: cjsonAssignee: Fabian Affolter <mail>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: epel8CC: mail
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cjson-1.7.18-1.fc42 cjson-1.7.18-1.fc40 cjson-1.7.18-1.fc41 cjson-1.7.18-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-26 10:05:38 UTC 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:    
Bug Blocks: 2277268    

Description Rohit Keshri 2024-04-26 04:25:58 UTC
More information about this security flaw is available in the following bug:

http://bugzilla.redhat.com/show_bug.cgi?id=2277268

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Rohit Keshri 2024-04-26 04:26:00 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=medium

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2277268,2277269

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Fedora Update System 2024-09-26 08:27:49 UTC
FEDORA-2024-d84486fd4f (cjson-1.7.18-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-d84486fd4f

Comment 3 Fedora Update System 2024-09-26 08:44:48 UTC
FEDORA-2024-82f3634c69 (cjson-1.7.18-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-82f3634c69

Comment 4 Fedora Update System 2024-09-26 09:11:11 UTC
FEDORA-2024-5db248f2a0 (cjson-1.7.18-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5db248f2a0

Comment 5 Fedora Update System 2024-09-26 10:05:38 UTC
FEDORA-2024-d84486fd4f (cjson-1.7.18-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-09-26 11:03:11 UTC
FEDORA-EPEL-2024-bd0299dfc8 (cjson-1.7.18-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-bd0299dfc8

Comment 7 Fedora Update System 2024-09-27 01:42:37 UTC
FEDORA-2024-82f3634c69 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-82f3634c69`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-82f3634c69

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-09-27 01:56:22 UTC
FEDORA-EPEL-2024-bd0299dfc8 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-bd0299dfc8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-09-27 02:48:04 UTC
FEDORA-2024-5db248f2a0 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5db248f2a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5db248f2a0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-09-29 01:37:38 UTC
FEDORA-2024-5db248f2a0 (cjson-1.7.18-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2024-10-02 01:32:14 UTC
FEDORA-2024-82f3634c69 (cjson-1.7.18-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2024-10-05 00:42:05 UTC
FEDORA-EPEL-2024-bd0299dfc8 (cjson-1.7.18-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.