7.5high
CVE-2017-14158
Scrapy denial of service vulnerability
Also known as GHSA-h7wm-ph43-c39p, PYSEC-2017-83
Published 9 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.6%
percentile 85%
Public exploits
0
none known
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.
Exploit prediction (EPSS)
2.60% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | scrapy | >=0.7, <=2.15.2 >=0.7 | no fix listed |
Classification
- Weakness
- CWE-400 Uncontrolled Resource Consumption
References
- github.com /scrapy/scrapy/issues/482 · x_refsource_MISC, x_transferred
- blog.csdn.net /wangtua/article/details/75228728 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-14158 · advisory
- github.com /pypa/advisory-database/blob/8b7a4d62a95e8f605e5dfb4e0b4f299e6403dc12/vulns/scrapy/PYSEC-2 · web
- github.com /pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2017-83.yaml · web
- github.com /scrapy/scrapy · package
- github.com /advisories/GHSA-h7wm-ph43-c39p · advisory
Sources
- CVE List: CVE-2017-14158
- GitHub Advisory: GHSA-h7wm-ph43-c39p
- NVD: CVE-2017-14158
- OSV: PYSEC-2017-83
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.