CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HMedium (5.5). EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in ujson 5.1.0, 5.2.0.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hujson (PyPI): fixed in 5.2.0, 5.1.0Explain CVE-2021-45958 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-45958?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-45958?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-45958 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ultrajson_project:ultrajson | before 5.2.0 |
| debian:debian_linux | 9.0 |
| fedoraproject:fedora | 35 |
| fedoraproject:fedora | 36 |
| fedoraproject:fedora | 37 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fh56-85cw-5pq6 | PyPI | ujson | >=1.34 <5.2.0 | 5.2.0 |
| PYSEC-2022-25 | PyPI | ujson | >=4.0.2 <5.1.0 | 5.1.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | ujson | 1.35-1+deb9u1 | DLA-2929-1 |
| Debian | 12, 13, 14 | ujson | 5.2.0-1 | DEBIAN-CVE-2021-45958 |
| Ubuntu | 14.04:LTS, 16.04:LTS, 18.04:LTS and 6 more | pandas | no fix listed | UBUNTU-CVE-2021-45958 |
| Ubuntu | 20.04:LTS | ujson | 1.35-4ubuntu0.1 | UBUNTU-CVE-2021-45958 USN-6629-2 |
| Ubuntu | Pro:16.04:LTS | ujson | 1.33-1ubuntu0.1~esm2 | UBUNTU-CVE-2021-45958 USN-6629-1 |
| Ubuntu | Pro:18.04:LTS | ujson | 1.35-2ubuntu0.1~esm1 | UBUNTU-CVE-2021-45958 USN-6629-1 |
| Ubuntu | Pro:22.04:LTS | ujson | 5.1.0-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-45958 USN-6629-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Real Time 15 SP3 | python-ujson | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| openSUSE | Leap 15.4 | python-ujson | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| openSUSE | Tumbleweed | python-ujson | 5.10.0-1.5 | openSUSE-SU-2025:15107-1 |
| Alpine | v3.16, v3.17, v3.18 and 6 more | py3-ujson | 5.2.0-r0 | ALPINE-CVE-2021-45958 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.