CVE-2024-1968
published high CVSS 3.0 · 7.5Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scrapy | — | scrapy/scrapyunspecified to < 2.11.2 | Affected | Not stated | @huntr_ai |
| scrapy | — | scrapy0 to < 2.11.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-Scrapy-docaarch64 | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| Ubuntu | bionic | python-scrapy | Advisory build | 1.5.0-1ubuntu0.1~esm1 | USN-7476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-Scrapy-docppc64le | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-Scrapy-docs390x | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-Scrapy-docx86_64 | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Scrapyaarch64 | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Scrapyppc64le | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Scrapys390x | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Scrapyx86_64 | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Scrapyaarch64 | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Scrapyppc64le | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Scrapys390x | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Scrapyx86_64 | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Scrapyaarch64 | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Scrapyppc64le | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Scrapys390x | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Scrapyx86_64 | Advisory build | 2.11.2-1.1 | OPENSUSE-SU-2024:14130-1 |
| Ubuntu | bionic | python3-scrapy | Advisory build | 1.5.0-1ubuntu0.1~esm1 | USN-7476-1 |
| Ubuntu | focal | python-scrapy | Advisory build | 1.7.3-1ubuntu0.1~esm1 | USN-7476-1 |
| Ubuntu | focal | python3-scrapy | Advisory build | 1.7.3-1ubuntu0.1~esm1 | USN-7476-1 |
| Ubuntu | jammy | python-scrapy | Advisory build | 2.5.1-2ubuntu0.1~esm1 | USN-7476-1 |
| Ubuntu | jammy | python3-scrapy | Advisory build | 2.5.1-2ubuntu0.1~esm1 | USN-7476-1 |
| Ubuntu | noble | python-scrapy | Advisory build | 2.11.1-1ubuntu0.1~esm2 | USN-7476-1 |
| Ubuntu | noble | python3-scrapy | Advisory build | 2.11.1-1ubuntu0.1~esm2 | USN-7476-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scrapy | scrapy/scrapy | unspecified to < 2.11.2 (affected · custom) | @huntr_ai · cna |
| scrapy | scrapy | 0 to < 2.11.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-200 CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
2Provider assertions
3@huntr_ai · cna
Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ea216fa7d4449a19d326f60360043f5b9a11ff9bee5d0055022de7d3c2ea2772
- Ingested
- 23 Sep 2026, 08:18:22 UTC
- Source record
- Official CVE record