Scrapy up to 1.8.0/2.5.0 HttpAuthMiddleware w3lib.http.basic_auth_header http_user/http_pass information disclosure
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Scrapy up to 1.8.0/2.5.0. It has been classified as problematic. Affected by this issue is the function w3lib.http.basic_auth_header of the component HttpAuthMiddleware. The manipulation of the argument http_user/http_pass leads to information disclosure.
This vulnerability is referenced as CVE-2021-41125. Remote exploitation of the attack is possible. No exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in Scrapy up to 1.8.0/2.5.0 and classified as problematic. This issue affects the function w3lib.http.basic_auth_header of the component HttpAuthMiddleware. The manipulation of the argument http_user/http_pass with an unknown input leads to a information disclosure vulnerability. Using CWE to declare the problem leads to CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Impacted is confidentiality.
The weakness was published 10/07/2021 as GHSA-jwqp-28gf-p498. The advisory is shared at github.com. The identification of this vulnerability is CVE-2021-41125 since 09/15/2021. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1592 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 235158 (Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS : Scrapy vulnerabilities (USN-7476-1)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.8.1 or 2.5.1 eliminates this vulnerability. Applying the patch b01d69a1bf48060daec8f751368622352d8b85a6 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (235158). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
Version
License
Website
- Product: https://github.com/scrapy/scrapy/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.6VulDB Meta Temp Score: 4.5
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 5.7
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Information disclosureCWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 235158
Nessus Name: Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS : Scrapy vulnerabilities (USN-7476-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Scrapy 1.8.1/2.5.1
Patch: b01d69a1bf48060daec8f751368622352d8b85a6
Timeline
09/15/2021 🔍10/07/2021 🔍
10/07/2021 🔍
05/06/2025 🔍
Sources
Product: github.comAdvisory: GHSA-jwqp-28gf-p498
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2021-41125 (🔍)
GCVE (CVE): GCVE-0-2021-41125
GCVE (VulDB): GCVE-100-183965
Entry
Created: 10/07/2021 08:42Updated: 05/06/2025 17:59
Changes: 10/07/2021 08:42 (53), 10/10/2021 08:17 (2), 05/06/2025 17:59 (16)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.