Exposure of Sensitive Information to an Unauthorized Actor Affecting scrapy package, versions [,2.11.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

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 IDSNYK-PYTHON-SCRAPY-6841708
  • published15 May 2024
  • disclosed14 May 2024
  • creditTsubasa Umeuchi

Introduced: 14 May 2024

CVE-2024-1968  (opens in a new tab)
CWE-200  (opens in a new tab)

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 Exposure of Sensitive Information to an Unauthorized Actor due to improper handling of HTTP headers during cross-origin redirects. An attacker can intercept the Authorization header and potentially access sensitive information by exploiting this misconfiguration in redirect scenarios where the domain remains the same but the scheme or port changes.

Note: In the context of a man-in-the-middle attack, this could be used to get access to the value of that Authorization header.

References

CVSS Scores

version 3.1