CVE-2024-1892
HIGH7.5EPSS 0.06%Scrapy vulnerable to ReDoS via XMLFeedSpider
發布日:2024/2/15修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/python-scrapyfrom 0
- PyPI/scrapy>= 2, < 2.11.1
- PyPI/scrapyfrom 0, < 479619b340f197a8f24c5db45bc068fb8755f2c5, < 479619b340f197a8f24c5db45bc068fb8755f2c5 | from 0, < 2.11.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(9)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-1892
- PATCHhttps://github.com/scrapy/scrapy
- WEBhttps://docs.scrapy.org/en/latest/news.html#scrapy-1-8-4-2024-02-14
- WEBhttps://docs.scrapy.org/en/latest/news.html#scrapy-2-11-1-2024-02-14
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2024-162.yaml
- WEBhttps://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5
- WEBhttps://github.com/scrapy/scrapy/commit/73e7c0ed011a0565a1584b8052ec757b54e5270b
- WEBhttps://github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9
- WEBhttps://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b