{"id":"UBUNTU-CVE-2017-14158","details":"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.","modified":"2026-05-20T16:05:57.856465764Z","published":"2017-09-05T17:29:00Z","upstream":["CVE-2017-14158"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-14158"},{"type":"REPORT","url":"http://blog.csdn.net/wangtua/article/details/75228728"},{"type":"REPORT","url":"https://github.com/scrapy/scrapy/issues/482"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-14158"}],"affected":[{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-1","1.0.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-scrapy","binary_version":"1.0.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1~exp2","1.4.0-1","1.5.0-1","1.5.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-scrapy","binary_version":"1.5.0-1ubuntu0.1~esm1"},{"binary_name":"python3-scrapy","binary_version":"1.5.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-1","1.7.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scrapy","binary_version":"1.7.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-2","2.5.1-2","2.5.1-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.1-2ubuntu0.1~esm1","binary_name":"python3-scrapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-1","2.11.0-1","2.11.0-2","2.11.1-1","2.11.1-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.11.1-1ubuntu0.1~esm2","binary_name":"python3-scrapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.12.0-2","binary_name":"python3-scrapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.0-2","2.14.0-1","2.14.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scrapy","binary_version":"2.14.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14158.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}