{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31755 exists.","fix":"Upgrade to a fixed version.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-31755 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31755 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-31755/ (Markdown: https://insights.sbomify.com/CVE-2024-31755/index.md)","id":"CVE-2024-31755","markdown":"https://insights.sbomify.com/CVE-2024-31755/index.md","name":"CVE-2024-31755","record":{"aliases":["AZL-40184","AZL-67458","BELL-CVE-2024-31755","DEBIAN-CVE-2024-31755","GHSA-5g69-hr8r-x577","MGASA-2024-0324","RHSA-2025:9022","RHSA-2025:9203","UBUNTU-CVE-2024-31755","openSUSE-SU-2024:14021-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"C JSON library","requires_auth":"low_privilege","summary":"A segmentation violation in cJSON allows attackers to cause a denial of service via the cJSON_SetValuestring function.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cjson","vendor":"cjson_project"}],"cvss":{"score":7.6,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"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.","ecosystems":["Red Hat:satellite:6.16::el8","Red Hat:satellite:6.16::el9","Red Hat:satellite:6.17::el9","Red Hat:satellite_capsule:6.16::el8","Red Hat:satellite_capsule:6.16::el9","Red Hat:satellite_capsule:6.17::el9","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Null dereference in n/a","id":"CVE-2024-31755","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2024"},"n_packages":19,"n_references":1,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2024-31756"},"packages":[{"ecosystem":"Red Hat:satellite:6.16::el8","fixed":["0:1.7.18-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"cjson","purl":"pkg:rpm/redhat/cjson","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite:6.16::el8","fixed":["0:1.7.18-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debuginfo","purl":"pkg:rpm/redhat/cjson-debuginfo","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite:6.16::el8","fixed":["0:1.7.18-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debugsource","purl":"pkg:rpm/redhat/cjson-debugsource","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite:6.16::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson","purl":"pkg:rpm/redhat/cjson","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite:6.16::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debuginfo","purl":"pkg:rpm/redhat/cjson-debuginfo","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite:6.16::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debugsource","purl":"pkg:rpm/redhat/cjson-debugsource","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite:6.17::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson","purl":"pkg:rpm/redhat/cjson","source":"RHSA-2025:9022"},{"ecosystem":"Red Hat:satellite:6.17::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debuginfo","purl":"pkg:rpm/redhat/cjson-debuginfo","source":"RHSA-2025:9022"},{"ecosystem":"Red Hat:satellite:6.17::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debugsource","purl":"pkg:rpm/redhat/cjson-debugsource","source":"RHSA-2025:9022"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el8","fixed":["0:1.7.18-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"cjson","purl":"pkg:rpm/redhat/cjson","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el8","fixed":["0:1.7.18-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debuginfo","purl":"pkg:rpm/redhat/cjson-debuginfo","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el8","fixed":["0:1.7.18-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debugsource","purl":"pkg:rpm/redhat/cjson-debugsource","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson","purl":"pkg:rpm/redhat/cjson","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debuginfo","purl":"pkg:rpm/redhat/cjson-debuginfo","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debugsource","purl":"pkg:rpm/redhat/cjson-debugsource","source":"RHSA-2025:9203"},{"ecosystem":"Red Hat:satellite_capsule:6.17::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson","purl":"pkg:rpm/redhat/cjson","source":"RHSA-2025:9022"},{"ecosystem":"Red Hat:satellite_capsule:6.17::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debuginfo","purl":"pkg:rpm/redhat/cjson-debuginfo","source":"RHSA-2025:9022"},{"ecosystem":"Red Hat:satellite_capsule:6.17::el9","fixed":["0:1.7.18-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"cjson-debugsource","purl":"pkg:rpm/redhat/cjson-debugsource","source":"RHSA-2025:9022"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.7.18-1.1"],"introduced":["0"],"last_affected":[],"package":"cJSON","purl":"pkg:rpm/opensuse/cJSON\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14021-1"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2024-31750"},"products":["n/a"],"published":"2024-04-26","related":[{"cvss_score":2.9,"headline":"Memory corruption in cJSON","id":"CVE-2023-53154","kev_date_added":null,"published":"2025-05-23"},{"cvss_score":2.9,"headline":"Denial of service in cJSON","id":"CVE-2023-26819","kev_date_added":null,"published":"2025-04-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"A segmentation violation in cJSON allows attackers to cause a denial of service via the cJSON_SetValuestring function.","url":"https://insights.sbomify.com/CVE-2024-31755/"}