Ubuntu CVE Tracker
UBUNTU-CVE-2024-3574
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | python-scrapy | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python-scrapy | All versions before 1.5.0-1ubuntu0.1~esm1 (fixed in 1.5.0-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | python-scrapy | All versions before 1.7.3-1ubuntu0.1~esm1 (fixed in 1.7.3-1ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | python-scrapy | All versions before 2.5.1-2ubuntu0.1~esm1 (fixed in 2.5.1-2ubuntu0.1~esm1) |
References
- https://ubuntu.com/security/CVE-2024-3574
- https://www.cve.org/CVERecord?id=CVE-2024-3574
- 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
- https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75
- https://ubuntu.com/security/notices/USN-7476-1