Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
In scrapy version 2.10.1, an issue was identified where the Authorization header, containing credentials for server authentication, is leaked to a third-party site during a cross-domain redirect. This vulnerability arises from the failure to remove the Authorization header when redirecting across domains. The exposure of the Authorization header to unauthorized actors could potentially allow for account hijacking.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| scrapy | scrapy/scrapy | before 2.11.1 | 2.11.1 | Patch available | CNA |
| — | scrapy (PyPI) | 2 to before 2.11.1 | 2.11.1 | Patch available | GHSA-cw9j-q3vf-hrrv |
| — | scrapy (PyPI) | before 1.8.4 | 1.8.4 | Patch available | GHSA-cw9j-q3vf-hrrv |
- scrapy/scrapy Vendorscrapy Affected before 2.11.1 Fixed in 2.11.1 Patch available CNA
- scrapy (PyPI) Vendor— Affected 2 to before 2.11.1 Fixed in 2.11.1 Patch available GHSA-cw9j-q3vf-hrrv
- scrapy (PyPI) Vendor— Affected before 1.8.4 Fixed in 1.8.4 Patch available GHSA-cw9j-q3vf-hrrv
Remediation
- Fix · CNA scrapy/scrapy (scrapy) Fixed in 2.11.1
- Fix · GHSA-cw9j-q3vf-hrrv scrapy (PyPI) Fixed in 2.11.1 Advisory →
- Fix · GHSA-cw9j-q3vf-hrrv scrapy (PyPI) Fixed in 1.8.4 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
scrapy/scrapy 2.11.1
2 records Highest priority Priority HIGH 2 HIGH
Other records, highest priority first
- TI-2024-03331 XML External Entity (XXE) Vulnerability in scrapy/scrapyPriority HIGH 72
Timeline
- 2026-10-02 Threatist record created from CVE-2024-3574
- 2026-10-03 Alias added: GHSA-cw9j-q3vf-hrrv
- 2026-10-18 EPSS moved to the 50th–90th percentile
References
More Scrapy vulnerabilities
- TI-2024-03331 XML External Entity (XXE) Vulnerability in scrapy/scrapy CVSS 3.0HIGH 7.5
- TI-2024-01831 Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects CVSS 3.0HIGH 7.5
- TI-2017-10313 Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via… CVSS 3.0HIGH 7.5
- TI-2024-01761 ReDoS Vulnerability in scrapy/scrapy's XMLFeedSpider CVSS 3.1MEDIUM 6.5
- TI-2022-00495 Exposure of Sensitive Information to an Unauthorized Actor in scrapy/scrapy CVSS 3.1MEDIUM 6.5
- TI-2021-17964 HTTP authentication credential leak to target websites in scrapy CVSS 3.1MEDIUM 6.5
Sources
- CVE-2024-3574 · CVE Program
- CVE-2024-3574 · NVD
- FIRST EPSS
- GHSA-cw9j-q3vf-hrrv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences