Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| scrapy | scrapy | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Scrapy | Scrapy |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cwxj-rr6w-m6w7 | Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.378% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Scrapy
Scrapy scrapy |
|
| Vendors & Products |
Scrapy
Scrapy scrapy |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware | |
| Weaknesses | CWE-470 | |
| References |
| |
| Metrics |
cvssV3_1
|