CVE-2024-1968
Publication date 20 May 2024
Last updated 30 May 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
python-scrapy | 25.04 plucky |
Not affected
|
24.10 oracular |
Not affected
|
|
24.04 LTS noble |
Fixed 2.11.1-1ubuntu0.1~esm2
|
|
22.04 LTS jammy |
Fixed 2.5.1-2ubuntu0.1~esm1
|
|
20.04 LTS focal |
Fixed 1.7.3-1ubuntu0.1~esm1
|
|
18.04 LTS bionic |
Fixed 1.5.0-1ubuntu0.1~esm1
|
|
16.04 LTS xenial | Ignored changes too intrusive |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProSeverity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-7476-1
- Scrapy vulnerabilities
- 5 May 2025