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.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade py3-ujson | Aug 22, 2024 | Jul 5, 2022 |
| Centos_linux | — | Upgrade python-ujson-debugsourceUpgrade python3-ujsonUpgrade python3-ujson-debuginfo | Dec 9, 2022 | Jul 5, 2022 |
| Debian | — | Upgrade ujson | Jul 30, 2024 | Jul 5, 2022 |
| Gentoo Linux | — | Upgrade dev-python/ujson. | Mar 4, 2024 | Jul 5, 2022 |
| Redhat_linux | — | Upgrade python3-ujsonUpgrade python-ujson-debugsourceUpgrade python3-ujson-debuginfo | Dec 9, 2022 | Jul 5, 2022 |
| Suse | — | Upgrade python2-ujsonUpgrade python3-ujson | Oct 26, 2022 | Jul 5, 2022 |
| Ubuntu | — | Upgrade python-ujson (Ubuntu Pro)Upgrade python3-ujson (Ubuntu Pro) | Feb 14, 2024 | Jul 5, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub