NULL pointer dereference in cJSON - CVE-2023-50471
Published: December 26, 2023
Vulnerability identifier: #VU84772
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-50471
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the cJSON_InsertItemInArray() function in cJSON.c. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.
Affected software
cJSON
Red Hat Satellite
Fedora
Red Hat Enterprise Linux for x86_64
openEuler
python-sqlparse (Red Hat package)
cjson
cjson-debuginfo
cjson-debugsource
cjson-devel
cjson (Red Hat package)
rubygem-rack (Red Hat package)
satellite (Red Hat package)
rubygem-foreman_rh_cloud (Red Hat package)
Red Hat Satellite
Fedora
Red Hat Enterprise Linux for x86_64
openEuler
python-sqlparse (Red Hat package)
cjson
cjson-debuginfo
cjson-debugsource
cjson-devel
cjson (Red Hat package)
rubygem-rack (Red Hat package)
satellite (Red Hat package)
rubygem-foreman_rh_cloud (Red Hat package)
How to mitigate CVE-2023-50471
Install updates from vendor's website.
cJSON - update to 1.7.17
Red Hat Satellite - update to 6.15.5.3
python-sqlparse (Red Hat package) - update to 0.5.0-1.el8pc
cjson - update to 1.7.15-5
cjson-debuginfo - update to 1.7.15-5
cjson-debugsource - update to 1.7.15-5
cjson-devel - update to 1.7.15-5
cjson - addressed in versions 1.7.17-1.el8, 1.7.17-1.fc38, 1.7.17-1.fc39, 1.7.17-1.fc40, 1.7.17-1.fc41
cjson (Red Hat package) - update to 1.7.18-1.el8sat
rubygem-rack (Red Hat package) - update to 2.2.14-1.el8sat
satellite (Red Hat package) - update to 6.15.5.3-1.el8sat
rubygem-foreman_rh_cloud (Red Hat package) - update to 9.0.61-1.el8sat
Red Hat Satellite - update to 6.15.5.3
python-sqlparse (Red Hat package) - update to 0.5.0-1.el8pc
cjson - update to 1.7.15-5
cjson-debuginfo - update to 1.7.15-5
cjson-debugsource - update to 1.7.15-5
cjson-devel - update to 1.7.15-5
cjson - addressed in versions 1.7.17-1.el8, 1.7.17-1.fc38, 1.7.17-1.fc39, 1.7.17-1.fc40, 1.7.17-1.fc41
cjson (Red Hat package) - update to 1.7.18-1.el8sat
rubygem-rack (Red Hat package) - update to 2.2.14-1.el8sat
satellite (Red Hat package) - update to 6.15.5.3-1.el8sat
rubygem-foreman_rh_cloud (Red Hat package) - update to 9.0.61-1.el8sat
External References
Related Security Bulletins
- Multiple vulnerabilities in cJSON
- Fedora 41 update for cjson
- Fedora 40 update for cjson
- Fedora 39 update for cjson
- Fedora 38 update for cjson
- Fedora EPEL 8 update for cjson
- openEuler 22.03 LTS SP1 update for cjson
- openEuler 22.03 LTS SP3 update for cjson
- Multiple vulnerabilities in Red Hat Satellite 6.15