CVE-2017-14158
PyPI vulnerability
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.
Affected products
PyPI. The exact versions are in the references.
What to do now
- Check your exposureFind out whether PyPI runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2017-14158
- github.com/scrapy/scrapy/issues/482
- blog.csdn.net/wangtua/article/details/75228728
- github.com/pypa/advisory-database/blob/8b7a4d62a95e8f605e5dfb4e0b4f299e6403dc12/vulns/scra
- github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2017-83.yaml
- github.com/advisories/GHSA-h7wm-ph43-c39p
- nvd.nist.gov/vuln/detail/CVE-2017-14158
- cve.org/CVERecord?id=CVE-2017-14158
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.