SCA: security update for scrapy-splash (GHSA-823f-cwm9-4g74)

high Tenable Self-Hosted Container Security Plugin ID 412348

Description

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

- Scrapy-splash is a library which provides Scrapy and JavaScript integration. In affected versions users
who use [`HttpAuthMiddleware`](http://doc.scrapy.org/en/latest/topics/downloader-middleware.html#module-
scrapy.downloadermiddlewares.httpauth) (i.e. the `http_user` and `http_pass` spider attributes) for Splash
authentication will have any non-Splash request expose your credentials to the request target. This
includes `robots.txt` requests sent by Scrapy when the `ROBOTSTXT_OBEY` setting is set to `True`. Upgrade
to scrapy-splash 0.8.0 and use the new `SPLASH_USER` and `SPLASH_PASS` settings instead to set your Splash
authentication credentials safely. If you cannot upgrade, set your Splash request credentials on a per-
request basis, [using the `splash_headers` request parameter](https://github.com/scrapy-plugins/scrapy-
splash/tree/0.8.x#http-basic-auth), instead of defining them globally using the
[`HttpAuthMiddleware`](http://doc.scrapy.org/en/latest/topics/downloader-middleware.html#module-
scrapy.downloadermiddlewares.httpauth). Alternatively, make sure all your requests go through Splash. That
includes disabling the [robots.txt middleware](https://docs.scrapy.org/en/latest/topics/downloader-
middleware.html#topics-dlmw-robots). (CVE-2021-41124)

See Also

https://github.com/advisories/GHSA-823f-cwm9-4g74

Plugin Details

Severity: High

ID: 412348

Version: Revision 1.9

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: Medium

Score: 5.7

Percentile: 96.45

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2021-41124

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.2

Threat Score: 5.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/6/2021

Vulnerability Publication Date: 10/5/2021

Reference Information

CVE: CVE-2021-41124

cwe: CWE-200