Read the docs
TI-2024-01831 Aliases CVE-2024-1968GHSA-4qqq-9vqf-3h3f

Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects

Priority HIGH 72CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00688 52nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed scrapy/scrapy (scrapy): 2.11.2Scrapy (PyPI): 2.11.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
scrapyscrapy/scrapybefore 2.11.22.11.2Patch availableCNA
—Scrapy (PyPI)before 2.11.22.11.2Patch availableGHSA-4qqq-9vqf-3h3f
  • scrapy/scrapy Vendorscrapy Affected before 2.11.2 Fixed in 2.11.2 Patch available CNA
  • Scrapy (PyPI) Vendor— Affected before 2.11.2 Fixed in 2.11.2 Patch available GHSA-4qqq-9vqf-3h3f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:*up to 1.8.4; 2.0.0 to before 2.11.2Vulnerablescrapy
  • cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:* Versions up to 1.8.4; 2.0.0 to before 2.11.2 Vulnerable ·scrapy

Remediation

  • Fix · CNA scrapy/scrapy (scrapy) Fixed in 2.11.2
  • Fix · GHSA-4qqq-9vqf-3h3f Scrapy (PyPI) Fixed in 2.11.2 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-1968
  2. 2026-10-03 Alias added: GHSA-4qqq-9vqf-3h3f

References

  • TI-2024-03333 Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy CVSS 3.0HIGH 7.5
  • TI-2024-03331 XML External Entity (XXE) Vulnerability in scrapy/scrapy CVSS 3.0HIGH 7.5
  • TI-2017-10313 Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via… CVSS 3.0HIGH 7.5
  • TI-2024-01761 ReDoS Vulnerability in scrapy/scrapy's XMLFeedSpider CVSS 3.1MEDIUM 6.5
  • TI-2022-00495 Exposure of Sensitive Information to an Unauthorized Actor in scrapy/scrapy CVSS 3.1MEDIUM 6.5
  • TI-2021-17964 HTTP authentication credential leak to target websites in scrapy CVSS 3.1MEDIUM 6.5

Sources