URL Redirection to Untrusted Site ('Open Redirect') Affecting scrapy package, versions [,2.11.2)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-SCRAPY-6841882
- published 15 May 2024
- disclosed 14 May 2024
- credit Paul Tremberth
How to fix?
Upgrade Scrapy
to version 2.11.2 or higher.
Overview
Scrapy is a high-level web crawling and web scraping framework, used to crawl websites and extract structured data from their pages.
Affected versions of this package are vulnerable to URL Redirection to Untrusted Site ('Open Redirect') due to the improper handling of scheme-specific proxy settings during HTTP redirects. An attacker can potentially intercept sensitive information by exploiting the failure to switch proxies when redirected from HTTP to HTTPS URLs or vice versa.
References
CVSS Scores
version 3.1