CVE-2023-50471
NixOS vulnerability analysis and mitigation

Overview

A segmentation violation vulnerability was discovered in cJSON version 1.7.16, specifically in the function cJSON_InsertItemInArray within cJSON.c. The vulnerability was assigned CVE-2023-50471 and has a CVSS v3.1 base score of 7.5 (HIGH) (NVD).

Technical details

The vulnerability occurs when the newitem parameter passed to cJSON_InsertItemInArray doesn't have a prev pointer set, resulting in a null pointer dereference at cJSON.c:2287. This happens specifically in the code section where newitem->prev->next = newitem is executed (GitHub Issue).

Impact

The vulnerability can cause the application to crash due to the segmentation violation, potentially resulting in a denial of service condition (Ubuntu Notice).

Mitigation and workarounds

The vulnerability has been fixed in multiple versions across different distributions: Debian 10 (Buster) in version 1.7.10-1.1+deb10u2, Fedora 38/39/40 in version 1.7.17-1, and Ubuntu systems in their respective security updates. Users are recommended to upgrade their cjson packages to the fixed versions (Debian LTS, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management