llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · guard-core

GHSA-VVV9-CVG5-GPCJ

Banned-IP set-key raised to the caller on Redis failure, un-banning on outage

Parche disponible
Descargar PNG JSON
CVSS 3.1
4.8
Media
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.13.0
Exposición87 dDesde la divulgación, 24 ago 2026, 11:07 p. m.
Detección86 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
25 ago 26
20 nov 26
25 ago 26
16 sept 26
7 oct 26
29 oct 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-VVV9-CVG5-GPCJ divulgada · CVSS 4.8 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

## Summary
`_ban_exact_ip` in `guard_core/handlers/ipban_handler.py` wrapped `redis_handler.set_key` so that a Redis failure (which raises `GuardRedisError(503)` out of `RedisManager.safe_operation`) propagated out of `ban_ip` on the exact-IP path, un-banning the IP during an outage and surfacing a 503 to the caller from the ban path. The CIDR path already clamped; the exact-IP path did not.

## Impact
During a Redis outage, banning an exact-IP fails open (the IP is not banned) and the outage is leaked to the requester as a 503 from the ban path. Reported by CatamountJack.

## Affected
guard-core < 3.13.0.

## Patched in 3.13.0
The exact-IP path now mirrors the CIDR path, wrapping `set_key` in try/except that clamps the duration to `LOCAL_CACHE_TTL_CAP_SECONDS` (3600) and warns, so a Redis outage degrades to a local-memory ban with a clamped TTL instead of raising and un-banning.

## Workaround
Ensure Redis availability for ban enforcement; a local-only ban still applies during outage after the fix.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
guard-core< 3.13.0
3.13.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
PyPIguard-core
Corregida 3.13.0 — —
Versiones corregidas3.13.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/Guard-Core/guard-core/security/advisories/GHSA-vvv9-cvg5-gpcj

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.