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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-scrapy | No fix yet | — |
| Debian 13 | python-scrapy | No fix yet | — |
| Debian 12 | python-scrapy | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-scrapy | No fix yet | — |
| Ubuntu 26.04 LTS | python-scrapy | No fix yet | — |
| Ubuntu 25.10 | python-scrapy | No fix yet | — |
| Ubuntu 16.04 LTS | python-scrapy | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | python-scrapy | No fix yet | — |
| Ubuntu Pro 22.04 LTS | python-scrapy | No fix yet | — |
| Ubuntu Pro 20.04 LTS | python-scrapy | No fix yet | — |
| Ubuntu Pro 18.04 LTS | python-scrapy | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | scrapy | >= 0.7, <= 2.15.2 | — | GHSA-h7wm-ph43-c39p |
| PyPI | scrapy | >= 0.7 | — | PYSEC-2017-83 |