Incorrect handling of invalid surrogate pair characters in ujson
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| ultrajson | ultrajson | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat OpenStack Platform 16.1 | |||
| python-ujson-0:2.0.3-3.el8ost | cpe:/a:redhat:openstack:16.1::el8 | RHSA-2022:8864 | 2022-12-07T00:00:00Z |
| Red Hat OpenStack Platform 16.2 | |||
| python-ujson-0:2.0.3-3.el8ost | cpe:/a:redhat:openstack:16.2::el8 | RHSA-2022:8850 | 2022-12-07T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-6438 | 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. |
Github GHSA |
GHSA-wpqr-jcpx-745r | Incorrect handling of invalid surrogate pair characters |
Ubuntu USN |
USN-6629-1 | UltraJSON vulnerabilities |
Ubuntu USN |
USN-6629-3 | UltraJSON vulnerabilities |
No CVSS v4.0
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: 2.5% (2.545% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|