CVE-2024-3574Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | python-scrapy | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | python-scrapy | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | python-scrapy | Fix pending | 2.5.1-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-3574 |
| Ubuntu 20.04 | python-scrapy | Fix pending | 1.7.3-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-3574 |
| Ubuntu 18.04 | python-scrapy | Fix pending | 1.5.0-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-3574 |
| Ubuntu 16.04 | python-scrapy | Fix pending | UBUNTU-CVE-2024-3574 | |
| Debian 14 | python-scrapy | Fixed | 2.11.1-1 | DEBIAN-CVE-2024-3574 |
| Debian 13 | python-scrapy | Fixed | 2.11.1-1 | DEBIAN-CVE-2024-3574 |
| Debian 12 | python-scrapy | Fix pending | DEBIAN-CVE-2024-3574 | |
| PyPI library | scrapy | Fixed | 1.8.4 | PYSEC-2026-1908 |
What the vendor says
As published in the CVE record by @huntr_ai, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- scrapy/scrapy: affected: unspecified to before 2.11.1; fixed in
2.11.1
References
- https://huntr.com/bounties/49974321-2718-43e3-a152-62b16eed72a9
- https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.