{
  "cveId": "CVE-2021-41125",
  "url": "https://patchblox.com/security/cve/CVE-2021-41125",
  "summary": "CVE-2021-41125 is fixed in 2 products on 1 platform, first by python-scrapy 1.5.0-1ubuntu0.1~esm1, released May 20, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "python3-scrapy: Scrapy is a high-level web crawling and scraping framework for Python",
  "description": "Scrapy is a high-level web crawling and scraping framework for Python. If you use \u0060HttpAuthMiddleware\u0060 (i.e. the \u0060http_user\u0060 and \u0060http_pass\u0060 spider attributes) for HTTP authentication, all requests will expose your credentials to the request target. This includes requests generated by Scrapy components, such as \u0060robots.txt\u0060 requests sent by Scrapy when the \u0060ROBOTSTXT_OBEY\u0060 setting is set to \u0060True\u0060, or as requests reached through redirects. Upgrade to Scrapy 2.5.1 and use the new \u0060http_auth_domain\u0060 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 \u0060w3lib.http.basic_auth_header\u0060 function to convert your credentials into a value that you can assign to the \u0060Authorization\u0060 header of your request, instead of defining your credentials globally using \u0060HttpAuthMiddleware\u0060.",
  "published": "2021-10-06T11:15:00Z",
  "severity": "Medium",
  "epss": 0.01261,
  "epssPercentile": 0.69808,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "python-scrapy",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.5.0-1ubuntu0.1~esm1",
      "fix": "python-scrapy 1.5.0-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python-scrapy-1.5.0-1ubuntu0.1-esm1",
      "released": "2024-05-20T01:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-scrapy",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.5.0-1ubuntu0.1~esm1",
      "fix": "python3-scrapy 1.5.0-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-scrapy-1.5.0-1ubuntu0.1-esm1",
      "released": "2024-05-20T01:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-scrapy",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.7.3-1ubuntu0.1~esm1",
      "fix": "python3-scrapy 1.7.3-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-scrapy-1.7.3-1ubuntu0.1-esm1",
      "released": "2024-05-20T01:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}