PYSEC-2024-162

    Dashboard / Vulnerabilities / PYSEC-2024-162

    PYSEC-2024-162

    Published: 28 Feb 2024Last Modified: 10 Jun 2026

    Summary:

    Details: A Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFeedSpider class of the scrapy/scrapy project, specifically in the parsing of XML content. By crafting malicious XML content that exploits inefficient regular expression complexity used in the parsing process, an attacker can cause a denial-of-service (DoS) condition. This vulnerability allows for the system to hang and consume significant resources, potentially rendering services that utilize Scrapy for XML processing unresponsive.

    Affected packages

    Package

    Name: scrapy

    Purl: pkg:pypi/scrapy

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    0.10.4.2364
    0.10.3
    0.10.2
    0.10.1
    0.10

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2024-162 | CVE-DB