7.5

CVE-2024-1968: scrapy

CVSS: 7.5v3.0HighAnalyzed
AliasesGHSA-4qqq-9vqf-3h3fPYSEC-2024-258UBUNTU-CVE-2024-1968
Published 20-05-2024Last modified 01-08-2024

Vulnerability summary

CVE-2024-1968 is a high (CVSS 7.5) vulnerability in scrapy. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 51.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (CVE.org)
EPSS score
0.69%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 20-05-2024
    PublishedVulnerability first disclosed.
  2. 01-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 2 versions

EPSS trend

Probability

0.69%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

0.00 pp

From 0.69% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.69%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Scrapy2 products
Debian1 product
  • python-scrapyAll versions (No fix recorded) | < 2.11.2-1
Opensuse1 product
  • python-Scrapy&distro=openSUSE Tumbleweed< 2.11.2-1.1
PyPI1 product
  • scrapy< 2.11.2 | < 1d0502f25bbe55a22899af915623fda1aaeb9dd8 | ≥ 2.0.0, < 2.11.2
Ubuntu1 product
  • python-scrapyAll versions (No fix recorded) | < 1.5.0-1ubuntu0.1~esm1 | < 1.7.3-1ubuntu0.1~esm1 | < 2.5.1-2ubuntu0.1~esm1 | < 2.11.1-1ubuntu0.1~esm2

5 vendors · 6 products

References

10 links