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 | alpine-linux-upgrade-py3-ujson | Aug 22, 2024 | Jul 5, 2022 | |
| Centos_linux | — | centos-upgrade-python-ujson-debugsourcecentos-upgrade-python3-ujsoncentos-upgrade-python3-ujson-debuginfo | Dec 9, 2022 | Jul 5, 2022 |
| Debian | debian-upgrade-ujson | Jul 30, 2024 | Jul 5, 2022 | |
| Gentoo Linux | gentoo-linux-upgrade-dev-python-ujson | Mar 4, 2024 | Jul 5, 2022 | |
| Redhat_linux | — | redhat-upgrade-python-ujson-debugsourceredhat-upgrade-python3-ujsonredhat-upgrade-python3-ujson-debuginfo | Dec 9, 2022 | Jul 5, 2022 |
| Suse | — | suse-upgrade-python2-ujsonsuse-upgrade-python3-ujson | Oct 26, 2022 | Jul 5, 2022 |
| Ubuntu | ubuntu-pro-upgrade-python-ujsonubuntu-pro-upgrade-python3-ujson | 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