CVE-2017-14158 Scrapy denial of service vulnerability

High 7.5 Published Updated

Remote attackers can cause denial of service in Scrapy by uploading large files that exhaust memory during processing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-14158?

CVE-2017-14158 is a high-severity denial of service vulnerability in n/a, published on 5 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-400

Which versions are affected by CVE-2017-14158?

3 open source packages ship an affected version, including scrapy. It affects 1 product.

PackageAffectedFixed in
scrapy PyPIFrom 0.7None
scrapy PyPIFrom 0.7 to 2.15.2None
scrapy PyPIFrom 0.7 to 2.15.2None

Products include Scrapy Scrapy.

How do I fix CVE-2017-14158?

No fix has been published for CVE-2017-14158 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-14158 being exploited?

There is no known exploitation of CVE-2017-14158 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-14158, GHSA-h7wm-ph43-c39p, PYSEC-2017-83, UBUNTU-CVE-2017-14158.

Is CVE-2017-14158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free