{"id":"CVE-2024-3574","published":"2024-04-16T00:00:15Z","modified":"2024-08-01T20:12:08Z","title":"Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy","vendor":"scrapy","product":"scrapy/scrapy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00648,"percentile":0.51998,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://huntr.com/bounties/49974321-2718-43e3-a152-62b16eed72a9","tags":[]},{"url":"https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75","tags":[]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.4},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"scrapy","affectedVersions":[{"vendor":"scrapy","product":"scrapy/scrapy","versions":[">= unspecified, < 2.11.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-04-18T15:23:27.914402Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"scrapy","vulnerableRanges":[">=2, <2.11.1","<1.8.4"],"patched":["2.11.1","1.8.4"],"from":["GHSA-cw9j-q3vf-hrrv","PYSEC-2026-1908"],"provenance":"source"}],"summary":{"text":"The Scrapy web-scraping framework (scrapy/scrapy) fails to strip the Authorization header when a request follows a redirect to a different domain, so credentials meant for the original server are sent onward to a third-party site. An attacker who controls or can intercept the redirect destination can capture those credentials and potentially hijack the affected account, with no authentication or user interaction required beyond a request being redirected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:36Z"},"euvd":{"id":"EUVD-2024-0622","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-scrapy-scrapy-cve-2022-0577","parents":[{"from":"CVE-2022-0577","to":"CVE-2024-3574","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["scrapy/downloadermiddlewares/redirect.py"],"commits":["https://github.com/scrapy/scrapy/commit/8ce01b3b76d4634f55067d6cfdf632ec70ba304a","https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75","https://github.com/scrapy/scrapy/commit/ee7bd9d217fc126063575d5649f00bdeeca2faae"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2024-3574","to":"CVE-2024-1968","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["scrapy/downloadermiddlewares/redirect.py"],"commits":["https://github.com/scrapy/scrapy/commit/1d0502f25bbe55a22899af915623fda1aaeb9dd8","https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75","https://github.com/scrapy/scrapy/commit/ee7bd9d217fc126063575d5649f00bdeeca2faae"],"basis":"shared function","functions":["_build_redirect_request"]}]}]}}