7.5
CVSSv3

CVE-2022-31116

Published: 05/07/2022 Updated: 07/11/2023
CVSS v2 Base Score: 5 | Impact Score: 2.9 | Exploitability Score: 10
CVSS v3 Base Score: 7.5 | Impact Score: 3.6 | Exploitability Score: 3.9
VMScore: 445
Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Summary

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library's `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

ultrajson project ultrajson

fedoraproject fedora 35

fedoraproject fedora 36

Vendor Advisories

Synopsis Moderate: Red Hat OpenStack Platform 1624 (python-ujson) security update Type/Severity Security Advisory: Moderate Red Hat Insights patch analysis Identify and remediate systems affected by this advisory View affected systems Topic An update for python-ujson is now available for Red Hat OpenStack Platform1624 (Train) f ...
Synopsis Moderate: Red Hat OpenStack Platform 1619 (python-ujson) security update Type/Severity Security Advisory: Moderate Red Hat Insights patch analysis Identify and remediate systems affected by this advisory View affected systems Topic An update for python-ujson is now available for Red Hat OpenStack Platform1619 (Train) f ...
UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 37+ Affected versions were found to improperly decode certain characters JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly Besides corrupting strings, this allowed for potential key confusion ...