A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Scrapy is a high-level web crawling and scraping framework for Python. From 1.4.0 until 2.14.2, RefererMiddleware in scrapy/spidermiddlewares/referer.py treated a Referrer-Policy response-header value that resembled a Python import path as a referrer policy class, imported the referenced object, and called it. A malicious website could supply a callable such as sys.exit and terminate a crawler processing the response. This issue is fixed in version 2.14.2.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /scrapy/scrapy/commit/945b787a263586cb5803c01c6da57daad8997…
- github.com /scrapy/scrapy/commit/b6e5c58ae707a3d4bb491537b551953405004…
- github.com /scrapy/scrapy/releases/tag/2.14.2
- github.com /scrapy/scrapy/security/advisories/GHSA-cwxj-rr6w-m6w7
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning