Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-31117

5.9 · MEDIUM
Published Jul 5, 2022 ultrajson_project CWE-415 EPSS 1.82% (77th pctl)

Overview

CVE-2022-31117 is a medium-severity vulnerability affecting ultrajson_project ultrajson. It was published on July 5, 2022 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.

Remediation

Check the references section for vendor advisories and patches from ultrajson_project. Update ultrajson to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
ultrajson_project ultrajson >= 0, < 5.4.0 Affected

Frequently Asked Questions

What is CVE-2022-31117?

CVE-2022-31117 is a medium-severity vulnerability affecting ultrajson_project ultrajson. It was published on July 5, 2022 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

How severe is CVE-2022-31117?

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-31117?

Check the references section for vendor advisories and patches from ultrajson_project. Update ultrajson to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-31117?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-31117 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.