ALT-PU-2024-18501-2

Обновление пакета scrapy в ветке sisyphus

Версия2.12.0-alt1
Задание#366453
Опубликовано2026-02-05
Макс. серьёзностьHIGH
Серьёзность:

Закрытые проблемы (2)

CVE-2024-1968
HIGH7.5

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.

Опубликовано: 2024-05-20Изменено: 2025-07-15
CVSS 3.xВЫСОКАЯ 7.5
CVSS:3.x/CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GHSA-4qqq-9vqf-3h3f
MEDIUM5.9

Scrapy leaks the authorization header on same-domain but cross-origin redirects

Опубликовано: 2024-05-14Изменено: 2024-05-20
CVSS 3.xСРЕДНЯЯ 5.9
CVSS:3.x/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N