Todas las CVE / Ultrajson Project
CVE-2022-31116Ultrajson Project Ultrajson
Alta 7.5 Sin autenticación
Seguir: esta CVE · Ultrajson Project · Ultrajson Project Ultrajson Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.0% probabilidad de explotación en 30 días · percentil 81
- Requiere autenticación
- No
- Publicada
- 5 jul 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-670
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Ultrajson.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | ujson |
< 5.4.0 |
5.4.0 |
pip install "ujson>=5.4.0" |
| PyPI | ujson |
< 5.4.0 |
5.4.0 |
pip install "ujson>=5.4.0" |
Según OSV / GitHub Advisories (GHSA-wpqr-jcpx-745r, PYSEC-2026-1057). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| ultrajson_project | ultrajson | < 5.4.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org