CVSS 3.1
5.9 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HMedium (5.9). EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in ujson 5.4.0.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hujson (PyPI): fixed in 5.4.0Explain CVE-2022-31117 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31117?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31117?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-2022-31117 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.4.0 |
| fedoraproject:fedora | 35 |
| fedoraproject:fedora | 36 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fm67-cv37-96ff | PyPI | ujson | <5.4.0 | 5.4.0 |
| PYSEC-2026-1056 | PyPI | ujson | <5.4.0 | 5.4.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | ujson | 5.4.0-1 | DEBIAN-CVE-2022-31117 |
| Ubuntu | 14.04:LTS, 20.04:LTS, 24.04:LTS and 3 more | pandas | no fix listed | UBUNTU-CVE-2022-31117 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 22.04:LTS | pandas, collada2gltf | no fix listed | UBUNTU-CVE-2022-31117 |
| Ubuntu | Pro:16.04:LTS | ujson | 1.33-1ubuntu0.1~esm2 | UBUNTU-CVE-2022-31117 USN-6629-1 |
| Ubuntu | Pro:18.04:LTS | ujson | 1.35-2ubuntu0.1~esm1 | UBUNTU-CVE-2022-31117 USN-6629-1 |
| Ubuntu | Pro:20.04:LTS | ujson | 1.35-4ubuntu0.1+esm1 | USN-6629-3 |
| Ubuntu | Pro:22.04:LTS | ujson | 5.1.0-1ubuntu0.1~esm1 | UBUNTU-CVE-2022-31117 USN-6629-1 |
| Red Hat | openstack:16.1::el8 | python-ujson, python3-ujson, python3-ujson-debuginfo and 1 more | 0:2.0.3-3.el8ost | RHSA-2022:8864 |
| Red Hat | openstack:16.2::el8 | python-ujson, python3-ujson, python3-ujson-debuginfo and 1 more | 0:2.0.3-3.el8ost | RHSA-2022:8850 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Package Hub 15 SP3 and 1 more | python-ujson | 1.35-150100.3.5.1 | SUSE-SU-2022:2673-1 |
| openSUSE | Leap 15.3, Leap 15.4 | python-ujson | 1.35-150100.3.5.1 | SUSE-SU-2022:2673-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.4.0-r0 | ALPINE-CVE-2022-31117 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 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 · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 16.1 | python-ujson-0:2.0.3-3.el8ost | Fixed 2022-12-07 | RHSA-2022:8864 |
| Red Hat OpenStack Platform 16.2 | python-ujson-0:2.0.3-3.el8ost | Fixed 2022-12-07 | RHSA-2022:8850 |
| Red Hat OpenStack Platform 13 (Queens) | python-ujson | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-31117.