USN-7476-1

Type: Security
Severity: Medium
Published: 2025-05-05
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

It was discovered that Scrapy improperly exposed HTTP authentication credentials to request targets, including during redirects. An attacker could use this issue to gain unauthorized access to user accounts. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-41125) It was discovered that Scrapy did not remove the cookie header during cross-domain redirects. An attacker could possibly use this issue to gain unauthorized access to user accounts. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-0577) It was discovered that Scrapy inefficiently parsed XML content. An attacker could use this issue to cause a denial of service by sending a crafted XML response. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2024-1892) It was discovered that Scrapy did not properly check response size during decompression. An attacker could send a crafted response that would exhaust memory and cause a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2024-3572) It was discovered that Scrapy did not remove the authorization header during cross-domain redirects. An attacker could possibly use this issue to gain unauthorized access to user accounts. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2024-3574) It was discovered that Scrapy did not remove the authorization header during redirects that change scheme but remain in the same domain. This issue could possibly be used by an attacker to expose sensitive information or to gain unauthorized access to user accounts. (CVE-2024-1968) Update Instructions: Run `sudo pro fix USN-7476-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-scrapy-doc - 1.7.3-1ubuntu0.1~esm1 python3-scrapy - 1.7.3-1ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T08:52:44.671Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T08:52:44.671Z UTC. Last updated 2025-11-26T08:50:11.384Z UTC.

Upstream Advisory

Affected Packages

  • python-scrapy-doc 1.7.3-1ubuntu0.1~esm1-1.7.3-1ubuntu0.1~esm1

  • python3-scrapy 1.7.3-1ubuntu0.1~esm1-1.7.3-1ubuntu0.1~esm1

  • python-scrapy-doc 2.5.1-2ubuntu0.1~esm1-2.5.1-2ubuntu0.1~esm1

  • python3-scrapy 2.5.1-2ubuntu0.1~esm1-2.5.1-2ubuntu0.1~esm1

  • python-scrapy-doc 2.11.1-1ubuntu0.1~esm2-2.11.1-1ubuntu0.1~esm2

  • python3-scrapy 2.11.1-1ubuntu0.1~esm2-2.11.1-1ubuntu0.1~esm2

Interested in being alerted when there are new versions of python-scrapy-doc and the other packages? Set up an alert.
USN-7476-1: Scrapy vulnerabilities | Package Alert