CVE-2024-3574

NameCVE-2024-3574
DescriptionIn 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.
SourceCVE (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 PackageReleaseVersionStatus
python-scrapy (PTS)buster1.5.1-1+deb10u1vulnerable
bullseye2.4.1-2+deb11u1vulnerable
bookworm2.8.0-2vulnerable
sid, trixie2.11.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-scrapysource(unstable)2.11.1-1

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)

Search for package or bug name: Reporting problems