6.5

CVE-2021-41125: debian debian_linux

CVSS: 6.5v3.1MediumModified
AliasesGHSA-jwqp-28gf-p498PYSEC-2021-363UBUNTU-CVE-2021-41125
Published 06-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-41125 is a medium (CVSS 6.5) vulnerability in debian debian_linux. EPSS estimates a 1.26% chance of exploitation in the next 30 days, higher than 69.2% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
1.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 06-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

Scrapy is a high-level web crawling and scraping framework for Python. If you use `HttpAuthMiddleware` (i.e. the `http_user` and `http_pass` spider attributes) for HTTP authentication, all requests will expose your credentials to the request target. This includes requests generated by Scrapy components, such as `robots.txt` requests sent by Scrapy when the `ROBOTSTXT_OBEY` setting is set to `True`, or as requests reached through redirects. Upgrade to Scrapy 2.5.1 and use the new `http_auth_domain` spider attribute to control which domains are allowed to receive the configured HTTP authentication credentials. If you are using Scrapy 1.8 or a lower version, and upgrading to Scrapy 2.5.1 is not an option, you may upgrade to Scrapy 1.8.1 instead. If you cannot upgrade, set your HTTP authentication credentials on a per-request basis, using for example the `w3lib.http.basic_auth_header` function to convert your credentials into a value that you can assign to the `Authorization` header of your request, instead of defining your credentials globally using `HttpAuthMiddleware`.

CVSS metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

1.26%

Chance of exploitation in the next 30 days

Percentile

69%

Versus all other CVEs

30-day change

0.00 pp

From 1.26% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
Opensuse1 product
  • python-Scrapy&distro=openSUSE Tumbleweed< 2.5.1-1.1
PyPI1 product
  • scrapy< 1.8.1 | < b01d69a1bf48060daec8f751368622352d8b85a6 | ≥ 2.0.0, < 2.5.1
Scrapy1 product
  • scrapy< 1.8.1 | ≥ 2.0.0, < 2.5.1
Ubuntu1 product
  • python-scrapyAll versions (No fix recorded) | < 1.5.0-1ubuntu0.1~esm1 | < 1.7.3-1ubuntu0.1~esm1

5 vendors · 6 products

References

13 links
Show all 13 references