Information Exposure

Affecting scrapy package, versions [2.0.0, 2.5.1) || [,1.8.1)

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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 Information Exposure. If you use HttpAuthMiddleware (i.e. the http_user and http_pass spider attributes) for HTTP authentication, all requests will expose your credentials to the request target. This includes requests generated by Scrapy components, such as robots.txt requests sent by Scrapy when the ROBOTSTXT_OBEY setting is set to True, or as requests reached through redirects.

Remediation

Upgrade Scrapy to version 2.5.1, 1.8.1 or higher.

References

CVSS Score

5.7
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    Low
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Credit
Unknown
CVE
CVE-2021-41125
CWE
CWE-200
Snyk ID
SNYK-PYTHON-SCRAPY-1729576
Disclosed
06 Oct, 2021
Published
07 Oct, 2021