CVE-2021-44878Pac4j
Alta 7.5 Sin autenticación
Seguir: esta CVE · Pac4j · Pac4j Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 58
- Requiere autenticación
- No
- Publicada
- 6 ene 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-347
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Qué pasa
If an OpenID Connect provider supports the "none" algorithm (i.e., tokens with no signature), pac4j v5.3.0 (and prior) does not refuse it without an explicit configuration on its side or for the "idtoken" response type which is not secure and violates the OpenID Core Specification. The "none" algorithm does not require any signature verification when validating the ID tokens, which allows the attacker to bypass the token validation by injecting a malformed ID token using "none" as the value of "alg" key in the header with an empty signature value.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pac4j.
- 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 |
|---|---|---|---|---|
| Maven | org.pac4j:pac4j-oidc |
< 4.5.5 |
4.5.5 |
— |
| Maven | org.pac4j:pac4j-oidc |
≥ 5.0 < 5.3.1 |
5.3.1 |
— |
Según OSV / GitHub Advisories (GHSA-xhw6-hjc9-679m). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pac4j | pac4j | < 4.5.5 |
| pac4j | pac4j | ≥ 5.0.0 < 5.3.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- openid.net Product Third Party Advisory
- www.pac4j.org Mitigation Vendor Advisory