Amenazas en vivo

Todas las CVE / busykoala

CVE-2024-40627busykoala fastapi-opa

Media 5.8 Sin autenticación

Prioridad
50
CVSS 3.1
5.8
EPSS
0.9%
probabilidad de explotación en 30 días · percentil 56
Requiere autenticación
No
Publicada
15 jul 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-204
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:C/C:L/I:N/A:N

Qué pasa

Fastapi OPA is an opensource fastapi middleware which includes auth flow. HTTP `OPTIONS` requests are always allowed by `OpaMiddleware`, even when they lack authentication, and are passed through directly to the application. `OpaMiddleware` allows all HTTP `OPTIONS` requests without evaluating it against any policy. If an application provides different responses to HTTP `OPTIONS` requests based on an entity existing (such as to indicate whether an entity is writable on a system level), an unauthenticated attacker could discover which entities exist within an application. This issue has been addressed in release version 2.0.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para fastapi-opa.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI fastapi-opa < 2.0.1 2.0.1 pip install "fastapi-opa>=2.0.1"
PyPI fastapi-opa < 2.0.1 2.0.1 pip install "fastapi-opa>=2.0.1"

Según OSV / GitHub Advisories (GHSA-5f5c-8rvc-j8wf, PYSEC-2026-1361). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.