CVE-2026-27932Hsiaoming Joserfc
Alta 7.5 Sin autenticación
Seguir: esta CVE · Hsiaoming · Hsiaoming Joserfc Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 3 mar 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-770
- 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
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. In 1.6.2 and earlier, a resource exhaustion vulnerability in joserfc allows an unauthenticated attacker to cause a Denial of Service (DoS) via CPU exhaustion. When the library decrypts a JSON Web Encryption (JWE) token using Password-Based Encryption (PBES2) algorithms, it reads the p2c (PBES2 Count) parameter directly from the token's protected header. This parameter defines the number of iterations for the PBKDF2 key derivation function. Because joserfc does not validate or bound this value, an attacker can specify an extremely large iteration count (e.g., 2^31 - 1), forcing the server to expend massive CPU resources processing a single token. This vulnerability exists at the JWA layer and impacts all high-level JWE and JWT decryption interfaces if PBES2 algorithms are allowed by the application's policy.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Joserfc.
- 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 | joserfc |
< 1.6.3 |
1.6.3 |
pip install "joserfc>=1.6.3" |
| PyPI | joserfc |
< 1.6.3 |
1.6.3 |
pip install "joserfc>=1.6.3" |
Según OSV / GitHub Advisories (GHSA-w5r5-m38g-f9f9, PYSEC-2026-2529). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| hsiaoming | joserfc | ≤ 1.6.2 |
Boletines oficiales
- Security update for python-joserfc · SUSE · openSUSE-SU-2026:20322-1 · 5 mar 2026 Alta
- python311-joserfc-1.6.3-1.1 on GA media · SUSE · openSUSE-SU-2026:10293-1 · 5 mar 2026 Alta
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Exploit Mitigation Vendor Advisory