Inefficient regular expression complexity in scrapy - #VU127072

 

Inefficient regular expression complexity in scrapy - #VU127072

Published: February 14, 2024 / Updated: April 23, 2026


Vulnerability identifier: #VU127072
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
scrapy
Software vendor:
scrapy.org

Description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to inefficient regular expression complexity in XMLFeedSpider default node iterator and scrapy.utils.iterators.xmliter when parsing malicious response content. A remote attacker can send a specially crafted response to cause a denial of service.

The issue can lead to extreme CPU and memory usage during content parsing.


Remediation

Install security update from vendor's website.

External links