Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. scrapy
  4. ›
  5. CVE-2017-14158

CVE-2017-14158: Scrapy denial of service vulnerability

May 17, 2022 (updated October 23, 2024)

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.

References

  • github.com/advisories/GHSA-h7wm-ph43-c39p
  • github.com/pypa/advisory-database/blob/8b7a4d62a95e8f605e5dfb4e0b4f299e6403dc12/vulns/scrapy/PYSEC-2017-83.yaml
  • github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2017-83.yaml
  • github.com/scrapy/scrapy
  • github.com/scrapy/scrapy/issues/482
  • nvd.nist.gov/vuln/detail/CVE-2017-14158

Code Behaviors & Features

Detect and mitigate CVE-2017-14158 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.7 up to 2.11.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/scrapy/CVE-2017-14158.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:43 +0000.