{"schemaVersion":3,"id":"CVE-2024-1968","aliases":["GHSA-4qqq-9vqf-3h3f","PYSEC-2024-258","UBUNTU-CVE-2024-1968","DEBIAN-CVE-2024-1968","openSUSE-SU-2024:14130-1"],"status":"published","duplicateOf":null,"title":null,"description":"In scrapy/scrapy, an issue was identified where the Authorization header is not removed during redirects that only change the scheme (e.g., HTTPS to HTTP) but remain within the same domain. This behavior contravenes the Fetch standard, which mandates the removal of Authorization headers in cross-origin requests when the scheme, host, or port changes. Consequently, when a redirect downgrades from HTTPS to HTTP, the Authorization header may be inadvertently exposed in plaintext, leading to potential sensitive information disclosure to unauthorized actors. The flaw is located in the _build_redirect_request function of the redirect middleware.","dates":{"published":"2024-05-20T08:03:43.129Z","modified":"2024-08-01T18:56:22.474Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00688,"percentile":0.51886,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00688},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00688,"percentile":0.51886}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00688,"percentile":0.51886}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_6BC875A99102EB11","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/27f6a021-a891-446a-ada5-0226d619dd1a","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"vendor":"debian","product":"python-scrapy","name":"python-scrapy","label":"python-scrapy","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-scrapy","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.11.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.11.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-scrapy","name":"python-scrapy","label":"python-scrapy","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-scrapy","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.5.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7.3-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.5.1-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.11.1-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.5.0-1ubuntu0.1~esm1 | < 1.7.3-1ubuntu0.1~esm1 | < 2.5.1-2ubuntu0.1~esm1 | < 2.11.1-1ubuntu0.1~esm2","eol":null,"hubHref":null},{"vendor":"PyPI","product":"scrapy","name":"scrapy","label":"scrapy","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/scrapy","purlType":"pypi","versions":[{"text":"< 2.11.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1d0502f25bbe55a22899af915623fda1aaeb9dd8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.11.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.2 | < 1d0502f25bbe55a22899af915623fda1aaeb9dd8 | ≥ 2.0.0, < 2.11.2","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-Scrapy&distro=openSUSE Tumbleweed","name":"python-Scrapy","label":"python-Scrapy&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-Scrapy&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 2.11.2-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.2-1.1","eol":null,"hubHref":null},{"vendor":"scrapy","product":"scrapy","name":"scrapy","label":"scrapy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.8.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.11.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.8.4 | ≥ 2.0.0, < 2.11.2","eol":null,"hubHref":"/vendor/scrapy/scrapy"},{"vendor":"scrapy","product":"scrapy/scrapy","name":"scrapy/scrapy","label":"scrapy/scrapy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 2.11.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 2.11.2","eol":null,"hubHref":"/vendor/scrapy/scrapyscrapy"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/27f6a021-a891-446a-ada5-0226d619dd1a","label":"huntr.com/bounties/27f6a021-a891-446a-ada5-0226d619dd1a","hostname":"huntr.com","tags":["WEB","EVIDENCE","REPORT","Exploit","Third Party Advisory"]},{"url":"https://github.com/scrapy/scrapy/commit/1d0502f25bbe55a22899af915623fda1aaeb9dd8","label":"github.com/scrapy/scrapy/commit/1d0502f25bbe55a22899af915623fda1aaeb9dd8","hostname":"github.com","tags":["WEB","FIX","REPORT","Patch"]},{"url":"https://github.com/scrapy/scrapy/security/advisories/GHSA-4qqq-9vqf-3h3f","label":"github.com/scrapy/scrapy/security/advisories/GHSA-4qqq-9vqf-3h3f","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/scrapy/scrapy","label":"github.com/scrapy/scrapy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-4qqq-9vqf-3h3f","label":"github.com/advisories/GHSA-4qqq-9vqf-3h3f","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-1968","label":"ubuntu.com/security/CVE-2024-1968","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-1968","label":"www.cve.org/CVERecord?id=CVE-2024-1968","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7476-1","label":"ubuntu.com/security/notices/USN-7476-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-1968","label":"security-tracker.debian.org/tracker/CVE-2024-1968","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-1968","label":"www.suse.com/security/cve/CVE-2024-1968","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-7476-1"],"duplicates":[],"related":["USN-7476-1"]},"timeline":[{"kind":"published","date":"2024-05-20T08:03:43.129Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-01T18:56:22.474Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:50:17.015Z","stale":false,"partial":false}}