CVE-2021-41124: Splash authentication credentials potentially leaked to target websites
(updated )
If you use HttpAuthMiddleware (i.e. the http_user and http_pass spider attributes) for Splash authentication, any non-Splash request will expose your credentials to the request target. This includes robots.txt requests sent by Scrapy when the ROBOTSTXT_OBEY setting is set to True.
References
- github.com/advisories/GHSA-823f-cwm9-4g74
- github.com/pypa/advisory-database/tree/main/vulns/scrapy-splash/PYSEC-2021-364.yaml
- github.com/scrapy-plugins/scrapy-splash
- github.com/scrapy-plugins/scrapy-splash/commit/2b253e57fe64ec575079c8cdc99fe2013502ea31
- github.com/scrapy-plugins/scrapy-splash/releases/tag/0.8.0
- github.com/scrapy-plugins/scrapy-splash/security/advisories/GHSA-823f-cwm9-4g74
- nvd.nist.gov/vuln/detail/CVE-2021-41124
Code Behaviors & Features
Detect and mitigate CVE-2021-41124 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →