CVE-2024-31755 Affecting cjson package, versions <1.7.17-1ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.64% (49th 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-UBUNTU2404-CJSON-6744801
  • published24 May 2024
  • disclosed26 Apr 2024

Introduced: 26 Apr 2024

CVE-2024-31755  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 cjson to version 1.7.17-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:24.04 relevant fixed versions and status.

cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c.

CVSS Base Scores

version 3.1