Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. scrapy
  4. ›
  5. GMS-2022-3357

GMS-2022-3357: Scrapy before v2.6.2 and v1.8.3 vulnerable to one proxy sending credentials to another

July 29, 2022

Because of request retries and redirects, the same request can be processed by downloader middlewares more than once, including both the built-in HTTP proxy downloader middleware and any third-party proxy-rotation downloader middleware. These third-party proxy-rotation downloader middlewares could change the proxy metadata of a request to a new value, but fail to remove the Proxy-Authentication header from the previous value of the proxy metadata, causing the credentials of one proxy to be leaked to a different proxy.

References

  • github.com/advisories/GHSA-9x8m-2xpf-crp3
  • github.com/scrapy/scrapy/commit/af7dd16d8ded3e6cb2946603688f4f4a5212e80f
  • github.com/scrapy/scrapy/security/advisories/GHSA-9x8m-2xpf-crp3

Code Behaviors & Features

Detect and mitigate GMS-2022-3357 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.3, all versions starting from 2.0.0 before 2.6.2

Fixed versions

  • 1.8.3
  • 2.6.2

Solution

Upgrade to versions 1.8.3, 2.6.2 or above.

Source file

pypi/scrapy/GMS-2022-3357.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.