NULL Pointer Dereference Affecting cjson package, versions <1.7.15-1ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.52% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-CJSON-6126777
  • published24 May 2024
  • disclosed14 Dec 2023

Introduced: 14 Dec 2023

CVE-2023-50471  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 cjson to version 1.7.15-1ubuntu0.1~esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cjson package and not the cjson package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_InsertItemInArray at cJSON.c.

CVSS Base Scores

version 3.1