CVE-2024-31755 Null dereference in n/a

High 7.6 Published Updated

A segmentation violation in cJSON allows attackers to cause a denial of service via the cJSON_SetValuestring function.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-31755?

CVE-2024-31755 is a high-severity vulnerability in n/a, published on 26 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-476

Which versions are affected by CVE-2024-31755?

It affects 1 product.

Linux distribution packages (19)
cjson Red Hat:satellite:6.16::el8All versions0:1.7.18-1.el8sat
cjson-debuginfo Red Hat:satellite:6.16::el8All versions0:1.7.18-1.el8sat
cjson-debugsource Red Hat:satellite:6.16::el8All versions0:1.7.18-1.el8sat
cjson Red Hat:satellite:6.16::el9All versions0:1.7.18-1.el9sat
cjson-debuginfo Red Hat:satellite:6.16::el9All versions0:1.7.18-1.el9sat
cjson-debugsource Red Hat:satellite:6.16::el9All versions0:1.7.18-1.el9sat
cjson Red Hat:satellite:6.17::el9All versions0:1.7.18-1.el9sat
cjson-debuginfo Red Hat:satellite:6.17::el9All versions0:1.7.18-1.el9sat
cjson-debugsource Red Hat:satellite:6.17::el9All versions0:1.7.18-1.el9sat
cjson Red Hat:satellite_capsule:6.16::el8All versions0:1.7.18-1.el8sat
cjson-debuginfo Red Hat:satellite_capsule:6.16::el8All versions0:1.7.18-1.el8sat
cjson-debugsource Red Hat:satellite_capsule:6.16::el8All versions0:1.7.18-1.el8sat
cjson Red Hat:satellite_capsule:6.16::el9All versions0:1.7.18-1.el9sat
cjson-debuginfo Red Hat:satellite_capsule:6.16::el9All versions0:1.7.18-1.el9sat
cjson-debugsource Red Hat:satellite_capsule:6.16::el9All versions0:1.7.18-1.el9sat
cjson Red Hat:satellite_capsule:6.17::el9All versions0:1.7.18-1.el9sat
cjson-debuginfo Red Hat:satellite_capsule:6.17::el9All versions0:1.7.18-1.el9sat
cjson-debugsource Red Hat:satellite_capsule:6.17::el9All versions0:1.7.18-1.el9sat
cJSON openSUSE:TumbleweedAll versions1.7.18-1.1

Products include Cjson Project Cjson.

How do I fix CVE-2024-31755?

Upgrade to a fixed version.

Is CVE-2024-31755 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31755 exists.

Sources

Also known as AZL-40184, AZL-67458, BELL-CVE-2024-31755, DEBIAN-CVE-2024-31755, GHSA-5g69-hr8r-x577, MGASA-2024-0324 and 4 more.

Is CVE-2024-31755 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free