CVEfocus › CVE database › CVE-2024-3574

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

CVSS 7.5 HighEPSS 0.6% (higher than 52% of CVEs)Published 2024-04-16Updated 2024-08-01Assigner: @huntr_ai

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.

CWE-200

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
5Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04python-scrapyNot affected
vulnerable_code_not_present
Ubuntu 25.10python-scrapyNot affected
vulnerable_code_not_present
Ubuntu 22.04python-scrapyFix pending2.5.1-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-3574
Ubuntu 20.04python-scrapyFix pending1.7.3-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-3574
Ubuntu 18.04python-scrapyFix pending1.5.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-3574
Ubuntu 16.04python-scrapyFix pendingUBUNTU-CVE-2024-3574
Debian 14python-scrapyFixed2.11.1-1DEBIAN-CVE-2024-3574
Debian 13python-scrapyFixed2.11.1-1DEBIAN-CVE-2024-3574
Debian 12python-scrapyFix pendingDEBIAN-CVE-2024-3574
PyPI libraryscrapyFixed1.8.4PYSEC-2026-1908

What the vendor says

As published in the CVE record by @huntr_ai, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.