---
title: "CVE-2024-1968\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2024-1968?format=md
keywords: index, follow
---

# CVE-2024-1968

Publication date 20 May 2024

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2024-1968?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-scrapy | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Fixed 2.11.1-1ubuntu0.1~esm2  Ubuntu Pro |
| 23.10 mantic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Fixed 2.5.1-2ubuntu0.1~esm1  Ubuntu Pro |
| 20.04 LTS focal | Fixed 1.7.3-1ubuntu0.1~esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 1.5.0-1ubuntu0.1~esm1  Ubuntu Pro |
| 16.04 LTS xenial | Ignored end of ESM support, was ignored [changes too intrusive] |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-1968)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-1968)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2024-1968)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2024-1968)

### Related Ubuntu Security Notices (USN)

+ [USN-7476-1](https://usn.ubuntu.com/USN-7476-1)
+ Scrapy vulnerabilities
+ 5 May 2025

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2024-1968>
* <https://huntr.com/bounties/27f6a021-a891-446a-ada5-0226d619dd1a>
* <https://github.com/scrapy/scrapy/commit/1d0502f25bbe55a22899af915623fda1aaeb9dd8>
