NULL Pointer Dereference Affecting davegamble/cjson package, versions [,1.7.17)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (26th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-DAVEGAMBLECJSON-6129053
  • published15 Dec 2023
  • disclosed14 Dec 2023
  • creditDu4t

Introduced: 14 Dec 2023

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

How to fix?

Upgrade davegamble/cjson to version 1.7.17 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference due to a segmentation violation in the cJSON_SetValuestring function. An attacker can cause a denial of service by triggering a null pointer dereference.

CVSS Base Scores

version 3.1