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

CVE-2022-0577: Incorrect Authorization and Exposure of Sensitive Information to an Unauthorized Actor in scrapy

March 1, 2022 (updated October 22, 2024)

If you manually define cookies on a Request object, and that Request object gets a redirect response, the new Request object scheduled to follow the redirect keeps those user-defined cookies, regardless of the target domain.

References

  • github.com/advisories/GHSA-cjvr-mfj7-j4j8
  • github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2022-159.yaml
  • github.com/scrapy/scrapy
  • github.com/scrapy/scrapy/commit/8ce01b3b76d4634f55067d6cfdf632ec70ba304a
  • github.com/scrapy/scrapy/security/advisories/GHSA-cjvr-mfj7-j4j8
  • huntr.dev/bounties/3da527b1-2348-4f69-9e88-2e11a96ac585
  • lists.debian.org/debian-lts-announce/2022/03/msg00021.html
  • nvd.nist.gov/vuln/detail/CVE-2022-0577

Code Behaviors & Features

Detect and mitigate CVE-2022-0577 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.2, all versions starting from 2.0.0 before 2.6.1

Fixed versions

  • 1.8.2
  • 2.6.1

Solution

Upgrade to versions 1.8.2, 2.6.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-863: Incorrect Authorization

Source file

pypi/scrapy/CVE-2022-0577.yml

Spotted a mistake? Edit the file on GitLab.

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

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