CVE-2024-1968 | Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects

Exp

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.

Published: 2024-05-20 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-1968 is rated High Exploit Risk (62.1/100): CVSS High severity, with low exploitation likelihood (EPSS 0.68%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-1968

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-1968

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.19% 0.68% +0.49%
2 2025-11-21 0.28% 0.19% -0.09%
3 2025-11-18 0.28%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-1968

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2024-1968

GitHub Security Advisory for CVE-2024-1968

GHSA-4qqq-9vqf-3h3f · Severity: medium · Ecosystem: pip — Scrapy leaks the authorization header on same-domain but cross-origin redirects

OS Trackers for CVE-2024-1968

vendor priority summary link
debian not yet assigned CVE-2024-1968 not yet assigned priority: Debian including 1 source packages (python-scrapy), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-1968
suse medium CVE-2024-1968 severity moderate: SUSE including 4 source package names (python-Scrapy-doc-2.11.2-1.1, python310-Scrapy-2.11.2-1.1, python311-Scrapy-2.11.2-1.1, python312-Scrapy-2.11.2-1.1), 4 product×package rows across 1 product lines (openSUSE Tumbleweed): Fixed 4. https://www.suse.com/security/cve/CVE-2024-1968/
ubuntu medium CVE-2024-1968 medium priority: Ubuntu including 1 source packages (python-scrapy), 10 status rows across 10 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, upstream, xenial): released 5, not-affected 3, ignored 2. https://ubuntu.com/security/CVE-2024-1968

Affected software / configurations for CVE-2024-1968

Vendor Product Version Raw CPE
scrapy scrapy <= 1.8.4 cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:*
scrapy scrapy >= 2.0.0, < 2.11.2 cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:*

References for CVE-2024-1968

cvelogic Threat Intelligence