Resource exhaustion in Scrapy

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.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.027 (84.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Scrapy — versions 1.4
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2017-14158?
CVE-2017-14158 is a high-severity vulnerability in Scrapy, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2017-09-05.
How severe is CVE-2017-14158?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2017-14158 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.