Name | CVE-2024-3574 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-scrapy (PTS) | jessie | 0.24.2-1 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.0.3-2+deb9u1 | vulnerable |
| buster | 1.5.1-1+deb10u1 | vulnerable |
| bullseye | 2.4.1-2+deb11u1 | vulnerable |
| bookworm | 2.8.0-2 | vulnerable |
| trixie | 2.11.2-3 | fixed |
| sid | 2.12.0-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - python-scrapy <no-dsa> (Minor issue)
[bullseye] - python-scrapy <no-dsa> (Minor issue)
[buster] - python-scrapy <postponed> (Minor issue, HTTP-redirect leak)
https://github.com/scrapy/scrapy/security/advisories/GHSA-cw9j-q3vf-hrrv
https://huntr.com/bounties/49974321-2718-43e3-a152-62b16eed72a9
https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75 (2.11.1)