SCA: security update for Scrapy (GHSA-4qqq-9vqf-3h3f)

high Tenable Cloud Security Plugin ID 410349

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- In scrapy/scrapy, an issue was identified where the Authorization header is not removed during redirects
that only change the scheme (e.g., HTTPS to HTTP) but remain within the same domain. This behavior
contravenes the Fetch standard, which mandates the removal of Authorization headers in cross-origin
requests when the scheme, host, or port changes. Consequently, when a redirect downgrades from HTTPS to
HTTP, the Authorization header may be inadvertently exposed in plaintext, leading to potential sensitive
information disclosure to unauthorized actors. The flaw is located in the _build_redirect_request function
of the redirect middleware. (CVE-2024-1968)

See Also

https://github.com/advisories/GHSA-4qqq-9vqf-3h3f

Plugin Details

Severity: High

ID: 410349

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.69

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.2

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-1968

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/14/2024

Vulnerability Publication Date: 5/20/2024

Reference Information

CVE: CVE-2024-1968

cwe: CWE-200