CVE-2024-1968

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
@huntr_aiCNA
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA-ADPADP
---
---
CVEADP
---
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 35%
Debian logo
Debian Releases
Debian Product
Codename
python-scrapy
bullseye
no-dsa
bookworm
no-dsa
buster
postponed
sid
2.12.0-2
fixed
trixie
2.12.0-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-scrapy
plucky
not-affected
oracular
not-affected
noble
Fixed 2.11.1-1ubuntu0.1~esm2
released
mantic
ignored
jammy
Fixed 2.5.1-2ubuntu0.1~esm1
released
focal
Fixed 1.7.3-1ubuntu0.1~esm1
released
bionic
Fixed 1.5.0-1ubuntu0.1~esm1
released
xenial
ignored