CVE & CISA-KEV Catalog

CVE-2022-31116

HIGHEPSS 81th pctl
7.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
ujsonDebian
Fixed in:5.4.0-1CVE-2022-31116
Fixed in:5.4.0-1CVE-2022-31116
Fixed in:5.4.0-1CVE-2022-31116
python-ujsonUbuntu
Fixed in:1.33-1ubuntu0.1~esm2USN-6629-1
Fixed in:1.35-2ubuntu0.1~esm1USN-6629-1
python3-ujsonUbuntu
Fixed in:1.33-1ubuntu0.1~esm2USN-6629-1
Fixed in:1.35-2ubuntu0.1~esm1USN-6629-1
Fixed in:1.35-4ubuntu0.1+esm1USN-6629-3
Fixed in:5.1.0-1ubuntu0.1~esm1USN-6629-1
ujsonUbuntu
Fixed in:1.33-1ubuntu0.1~esm2USN-6629-1
Fixed in:1.35-2ubuntu0.1~esm1USN-6629-1
Fixed in:1.35-4ubuntu0.1+esm1USN-6629-3
Fixed in:5.1.0-1ubuntu0.1~esm1USN-6629-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

2.28%probability of exploitation in 30 days
81stpercentile

Elevated risk: more likely to be exploited than 81% of all known CVEs.

References

Related Vulnerabilities

Other CWE-670 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-9425High7.517%-Fix
CVE-2019-9946High7.53.1%-Fix
CVE-2024-32896High7.83.0%KEV-
CVE-2019-17192Critical9.82.7%--
CVE-2026-38361High7.52.6%--
CVE-2020-1914Critical9.82.5%-Fix
Embed a live status badge for CVE-2022-31116
CVE-2022-31116 severity badge

Markdown

[![CVE-2022-31116](https://tridentstack.com/cve/badge/CVE-2022-31116.svg)](https://tridentstack.com/cve/CVE-2022-31116)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-31116"><img src="https://tridentstack.com/cve/badge/CVE-2022-31116.svg" alt="CVE-2022-31116"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.