CVE-2021-46743Google Firebase Php-jwt
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Google · Google Firebase Php-jwt Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 58
- Requiere autenticación
- No
- Publicada
- 29 mar 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-843
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Qué pasa
In Firebase PHP-JWT before 6.0.0, an algorithm-confusion issue (e.g., RS256 / HS256) exists via the kid (aka Key ID) header, when multiple types of keys are loaded in a key ring. This allows an attacker to forge tokens that validate under the incorrect key. NOTE: this provides a straightforward way to use the PHP-JWT library unsafely, but might not be considered a vulnerability in the library itself.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Firebase Php-jwt.
- 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 |
|---|---|---|---|---|
| Packagist | firebase/php-jwt |
< 6.0.0 |
6.0.0 |
composer require "firebase/php-jwt:^6.0.0" |
Según OSV / GitHub Advisories (GHSA-8xf4-w7qw-pjjw). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| firebase_php-jwt | < 6.0.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Third Party Advisory