1. Accueil
  2. Vulnérabilités
  3. CVE-2022-31116

CVE-2022-31116

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected…

Publiée le 5 juil. 2022 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 59/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Fedoraproject (2 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 35 — NVD
Fedora 36 — NVD
Ultrajson project (1 ligne(s))
Ultrajson project
ProduitVersionsCorrigé dansSource
Ultrajson avant 5.4.0 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-670 · Autre (CWE-670)

Comment sont obtenues et calculées ces données