Skip to content
Heist/ feed
Back to feed
High

python-scrapy — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2017-14158

Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via large files because arbitrarily many files are read into memory, which is especially problematic if the files are then individually written in a separate thread to a slow storage resource, as demonstrated by interaction between dataReceived (in core/downloader/handlers/http11.py) and S3FilesStore.

Products
python-scrapy
Affected versions
1.0.0-1, 1.0.3-1, 1.3.0-1~exp2, 1.4.0-1, 1.5.0-1, 1.5.0-1ubuntu0.1~esm1, 1.7.3-1, 1.7.3-1ubuntu0.1~esm1, 2.10.0-1, 2.11.0-1, 2.11.0-2, 2.11.1-1, 2.11.1-1ubuntu0.1~esm2, 2.12.0-2, 2.14.0-1, 2.14.1-1, 2.17.0-1, 2.18.0-2, 2.4.1-2, 2.5.1-2, 2.5.1-2ubuntu0.1~esm1
Fixed versions
Not specified
CVEs
CVE-2017-14158
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:22 UTC · Revision 1

Source evidence

UBUNTU-CVE-2017-14158

core-osv · Original source

Published 5 Sept 2017, 17:29 UTC

Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via large files because arbitrarily many files are read into memory, which is especially problematic if the files are then individually written in a separate thread to a slow storage resource, as demonstrated by interaction between dataReceived (in core/downloader/handlers/http11.py) and S3FilesStore.

osv:UBUNTU-CVE-2017-14158

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

Complete source record
{
  "id": "f7bcff75ab98e62f9e62f833804c5de7a6677e6f414f558dd18c0eea05150c92",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2017-14158",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2017-14158",
    "summary": "Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via large files because arbitrarily many files are read into memory, which is especially problematic if the files are then individually written in a separate thread to a slow storage resource, as demonstrated by interaction between dataReceived (in core/downloader/handlers/http11.py) and S3FilesStore.",
    "evidence": "osv:UBUNTU-CVE-2017-14158",
    "products": [
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.3-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-1~exp2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.0-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.3-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.7.3-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.5.1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.5.1-2ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.10.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.11.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.11.0-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.11.1-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.11.1-1ubuntu0.1~esm2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.12.0-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.14.1-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.17.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.18.0-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.12.0-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.14.0-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.14.1-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2017-14158",
      "aliases": [
        "UBUNTU-CVE-2017-14158"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "low"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.0.0-1",
            "1.0.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-scrapy",
                "binary_version": "1.0.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.3.0-1~exp2",
            "1.4.0-1",
            "1.5.0-1",
            "1.5.0-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-scrapy",
                "binary_version": "1.5.0-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "python3-scrapy",
                "binary_version": "1.5.0-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1.7.3-1",
            "1.7.3-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "1.7.3-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "2.4.1-2",
            "2.5.1-2",
            "2.5.1-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.5.1-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "2.10.0-1",
            "2.11.0-1",
            "2.11.0-2",
            "2.11.1-1",
            "2.11.1-1ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.11.1-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.12.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.12.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.14.1-1",
            "2.17.0-1",
            "2.18.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.18.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.12.0-2",
            "2.14.0-1",
            "2.14.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.14.1-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:53:17.304593284Z",
      "provider": "osv",
      "upstream": [
        "CVE-2017-14158"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2017-14158",
        "https://github.com/scrapy/scrapy/issues/482",
        "https://www.cve.org/CVERecord?id=CVE-2017-14158"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2017-14158",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353403,
  "published_at": "2017-09-05T17:29:00+00:00"
}