CVE-2024-3574
Scrapy vulnerability
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 products
Scrapy. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Scrapy runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75 · Patch
- huntr.com/bounties/49974321-2718-43e3-a152-62b16eed72a9 · Exploit
- github.com/scrapy/scrapy/security/advisories/GHSA-cw9j-q3vf-hrrv
- github.com/scrapy/scrapy/commit/ee7bd9d217fc126063575d5649f00bdeeca2faae
- nvd.nist.gov/vuln/detail/CVE-2024-3574
- github.com/advisories/GHSA-cw9j-q3vf-hrrv
- nvd.nist.gov/vuln/detail/CVE-2024-3574
- cve.org/CVERecord?id=CVE-2024-3574
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.