Vulnerability · Published Apr 16, 2024 · Assigned by @huntr_ai

CVE-2024-3574Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy

High 7.5

In plain English

A high-severity information exposure in scrapy/scrapy from scrapy. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.5High
Exploit odds (30 days)0.6%top 48.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-scrapyno fix listedDEBIAN-CVE-2024-3574
Debian:13python-scrapy2.11.1-1DEBIAN-CVE-2024-3574
Debian:14python-scrapy2.11.1-1DEBIAN-CVE-2024-3574
PyPIscrapy2.11.1GHSA-cw9j-q3vf-hrrv
PyPIscrapy1.8.4GHSA-cw9j-q3vf-hrrv
PyPIscrapy1.8.4, 2.11.1PYSEC-2026-1908

Affected products (as reported)

VendorProductVersions
scrapy scrapy/scrapy unspecified – before 2.11.1

Weakness: CWE-200 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References