{"schemaVersion":3,"id":"CVE-2017-14158","aliases":["GHSA-h7wm-ph43-c39p","PYSEC-2017-83","UBUNTU-CVE-2017-14158","DEBIAN-CVE-2017-14158"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-09-05T17:00:00.000Z","modified":"2024-08-05T19:20:41.277Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.8,"severity":"high","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.02605,"percentile":0.8517,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.032000000000000084,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02573},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02556,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02605,"percentile":0.8517}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02556,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02573,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02605,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02605,"percentile":0.8517}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_BAF2AB8DA51DA6D8","name":"Exploit Reference (blog.csdn.net)","source":"reference","url":"http://blog.csdn.net/wangtua/article/details/75228728","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"debian","product":"python-scrapy","name":"python-scrapy","label":"python-scrapy","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-scrapy","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-scrapy","name":"python-scrapy","label":"python-scrapy","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-scrapy","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"scrapy","name":"scrapy","label":"scrapy","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/scrapy","purlType":"pypi","versions":[{"text":"≥ 0.7, ≤ 2.15.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.7","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 0.7, ≤ 2.15.2 | ≥ 0.7 (No fix recorded)","eol":null,"hubHref":null},{"vendor":"scrapy","product":"scrapy","name":"scrapy","label":"scrapy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.4","eol":null,"hubHref":"/vendor/scrapy/scrapy"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/scrapy/scrapy/issues/482","label":"github.com/scrapy/scrapy/issues/482","hostname":"github.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","WEB","REPORT"]},{"url":"http://blog.csdn.net/wangtua/article/details/75228728","label":"blog.csdn.net/wangtua/article/details/75228728","hostname":"blog.csdn.net","tags":["X Refsource MISC","Exploit","Third Party Advisory","WEB","ARTICLE","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-14158","label":"nvd.nist.gov/vuln/detail/CVE-2017-14158","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/blob/8b7a4d62a95e8f605e5dfb4e0b4f299e6403dc12/vulns/scrapy/PYSEC-2017-83.yaml","label":"github.com/pypa/…","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2017-83.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2017-83.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/scrapy/scrapy","label":"github.com/scrapy/scrapy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-h7wm-ph43-c39p","label":"github.com/advisories/GHSA-h7wm-ph43-c39p","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-14158","label":"ubuntu.com/security/CVE-2017-14158","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-14158","label":"www.cve.org/CVERecord?id=CVE-2017-14158","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-14158","label":"security-tracker.debian.org/tracker/CVE-2017-14158","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-09-05T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T19:20:41.277Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:09:04.485Z","stale":false,"partial":false}}