CVE catalog

CVE-2024-1968

Scrapy vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.69% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-scrapysid2.19.0-2fixed
Debianpython-scrapyforky2.19.0-2fixed
Debianpython-scrapytrixie2.12.0-2fixed
Debianpython-scrapybookworm2.8.0-2vulnerable
Ubuntupython-scrapynobleNot reportedvulnerable
Ubuntupython-scrapynoble2.11.1-1ubuntu0.1~esm2fixed
Ubuntupython-scrapy-docnoble2.11.1-1ubuntu0.1~esm2fixed
Ubuntupython3-scrapynoble2.11.1-1ubuntu0.1~esm2fixed
Ubuntupython-scrapy16.041.0.0-1vulnerable
Ubuntupython-scrapy16.041.0.3-1vulnerable
Ubuntupython-scrapypro2.10.0-1vulnerable
Ubuntupython-scrapypro2.11.0-1vulnerable
Ubuntupython-scrapypro2.11.0-2vulnerable
Ubuntupython-scrapypro2.11.1-1vulnerable
Ubuntupython-scrapypro2.11.1-1ubuntu0.1~esm2fixed
Opensusepython-Scrapytumbleweed2.11.2-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-scrapysourcesid2.11.2-1not yet assignedNot reportedNot reported
Debianpython-scrapysourceforky2.11.2-1not yet assignedNot reportedNot reported
Debianpython-scrapysourcetrixie2.11.2-1not yet assignedNot reportedNot reported
Debianpython-scrapysourcebookworm(unfixed)not yet assignedNot reportedNot reported
Ubuntupython-scrapydebnoble2.11.1-1ubuntu0.1~esm2Not reportedNot reportedNot reported
Ubuntupython-scrapy-docdebnoble2.11.1-1ubuntu0.1~esm2Not reportedNot reportedNot reported
Ubuntupython3-scrapydebnoble2.11.1-1ubuntu0.1~esm2Not reportedNot reportedNot reported
Ubuntupython-scrapydebpro2.11.1-1ubuntu0.1~esm2Not reportedUBUNTU-CVE-2024-1968Not reported
Opensusepython-Scrapyrpmtumbleweed2.11.2-1.1Not reportedOPENSUSE-SU-2024:14130-1Not reported

Notes

[bookworm] python-scrapy: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-scrapy]Affected

    Source package: [python-scrapy]

    Details (2)
    • 2.8.0-2 · all · bookworm

      Affected

      usn · python-scrapy · debian · bookworm; usn · python-scrapy · debian · 12

    • 2.8.0-2 · all · bookworm

      Affected

      usn · python-scrapy · debian · bookworm; usn · python-scrapy · debian · 12

  • Source package: [python-scrapy]

    Details (2)
    • 2.8.0-2 · all · bookworm

      Affected

      usn · python-scrapy · debian · bookworm; usn · python-scrapy · debian · 12

    • 2.8.0-2 · all · bookworm

      Affected

      usn · python-scrapy · debian · bookworm; usn · python-scrapy · debian · 12

[openSUSE Tumbleweed]

  • Source package: [python-Scrapy]

    Details (1)
    • 2.17.0+git7-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.11.2-1.1

      Version impact unknown

      usn · python-Scrapy · opensuse · tumbleweed

  • Source package: [python-Scrapy]

    Details (1)
    • 2.17.0+git7-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.11.2-1.1

      Version impact unknown

      usn · python-Scrapy · opensuse · tumbleweed

  • Source package: [python-Scrapy]

    Details (1)
    • 2.17.0+git7-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.11.2-1.1

      Version impact unknown

      usn · python-Scrapy · opensuse · tumbleweed

[Debian 13 (Trixie)]

  • Source package: [python-scrapy]

    Details (2)
    • 2.12.0-2 · all · trixie

      Fixed · Fixed: 2.11.2-1

      usn · python-scrapy · debian · 13

    • 2.12.0-2 · all · trixie

      Fixed · Fixed: 2.11.2-1

      usn · python-scrapy · debian · 13

  • Source package: [python-scrapy]

    Details (2)
    • 2.12.0-2 · all · trixie

      Fixed · Fixed: 2.11.2-1

      usn · python-scrapy · debian · 13

    • 2.12.0-2 · all · trixie

      Fixed · Fixed: 2.11.2-1

      usn · python-scrapy · debian · 13

Observed:

References