Vulnerability · Published Apr 16, 2024 · Assigned by @huntr_ai
CVE-2024-3574Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy
High 7.5
In plain English
A high-severity information exposure in scrapy/scrapy from scrapy. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-scrapy | no fix listed | DEBIAN-CVE-2024-3574 |
| Debian:13 | python-scrapy | 2.11.1-1 | DEBIAN-CVE-2024-3574 |
| Debian:14 | python-scrapy | 2.11.1-1 | DEBIAN-CVE-2024-3574 |
| PyPI | scrapy | 2.11.1 | GHSA-cw9j-q3vf-hrrv |
| PyPI | scrapy | 1.8.4 | GHSA-cw9j-q3vf-hrrv |
| PyPI | scrapy | 1.8.4, 2.11.1 | PYSEC-2026-1908 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| scrapy | scrapy/scrapy | unspecified – before 2.11.1 |
Weakness: CWE-200 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N