CVE & CISA-KEV Catalog

CVE-2022-31116

HIGHEPSS 76th 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

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

1.83%probability of exploitation in 30 days
76thpercentile

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

References

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.

Start free

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.