Amenazas en vivo

Todas las CVE / Scrapy

CVE-2024-1968Scrapy

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.0
7.5
EPSS
0.9%
probabilidad de explotación en 30 días · percentil 58
Requiere autenticación
No
Publicada
20 may 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-200
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Qué pasa

In scrapy/scrapy, an issue was identified where the Authorization header is not removed during redirects that only change the scheme (e.g., HTTPS to HTTP) but remain within the same domain. This behavior contravenes the Fetch standard, which mandates the removal of Authorization headers in cross-origin requests when the scheme, host, or port changes. Consequently, when a redirect downgrades from HTTPS to HTTP, the Authorization header may be inadvertently exposed in plaintext, leading to potential sensitive information disclosure to unauthorized actors. The flaw is located in the _build_redirect_request function of the redirect middleware.

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 Scrapy.
  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 scrapy < 2.11.2 2.11.2 pip install "scrapy>=2.11.2"
PyPI scrapy < 2.0.0 2.0.0 pip install "scrapy>=2.0.0"
PyPI scrapy ≥ 2.0.0 < 2.11.2 2.11.2 pip install "scrapy>=2.11.2"

Según OSV / GitHub Advisories (GHSA-4qqq-9vqf-3h3f, PYSEC-2024-258). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
scrapyscrapy≤ 1.8.4
scrapyscrapy≥ 2.0.0 < 2.11.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.