USN-7476-1

Source
https://ubuntu.com/security/notices/USN-7476-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7476-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7476-1
Related
Published
2025-05-05T16:31:52.262420Z
Modified
2025-05-05T16:31:52.262420Z
Summary
python-scrapy vulnerabilities
Details

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)

References

Affected packages

Ubuntu:Pro:18.04:LTS / python-scrapy

Package

Name
python-scrapy
Purl
pkg:deb/ubuntu/python-scrapy@1.5.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.0-1ubuntu0.1~esm1

Affected versions

1.*

1.3.0-1~exp2
1.4.0-1
1.5.0-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.5.0-1ubuntu0.1~esm1",
            "binary_name": "python-scrapy"
        },
        {
            "binary_version": "1.5.0-1ubuntu0.1~esm1",
            "binary_name": "python-scrapy-doc"
        },
        {
            "binary_version": "1.5.0-1ubuntu0.1~esm1",
            "binary_name": "python3-scrapy"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / python-scrapy

Package

Name
python-scrapy
Purl
pkg:deb/ubuntu/python-scrapy@1.7.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.7.3-1ubuntu0.1~esm1

Affected versions

1.*

1.7.3-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.7.3-1ubuntu0.1~esm1",
            "binary_name": "python-scrapy-doc"
        },
        {
            "binary_version": "1.7.3-1ubuntu0.1~esm1",
            "binary_name": "python3-scrapy"
        }
    ]
}

Ubuntu:Pro:22.04:LTS / python-scrapy

Package

Name
python-scrapy
Purl
pkg:deb/ubuntu/python-scrapy@2.5.1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.1-2ubuntu0.1~esm1

Affected versions

2.*

2.4.1-2
2.5.1-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.5.1-2ubuntu0.1~esm1",
            "binary_name": "python-scrapy-doc"
        },
        {
            "binary_version": "2.5.1-2ubuntu0.1~esm1",
            "binary_name": "python3-scrapy"
        }
    ]
}

Ubuntu:Pro:24.04:LTS / python-scrapy

Package

Name
python-scrapy
Purl
pkg:deb/ubuntu/python-scrapy@2.11.1-1ubuntu0.1~esm2?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.1-1ubuntu0.1~esm2

Affected versions

2.*

2.10.0-1
2.11.0-1
2.11.0-2
2.11.1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.11.1-1ubuntu0.1~esm2",
            "binary_name": "python-scrapy-doc"
        },
        {
            "binary_version": "2.11.1-1ubuntu0.1~esm2",
            "binary_name": "python3-scrapy"
        }
    ]
}