Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-14158
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:44 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-14158
Complete source record
{
"id": "e5d4bfaec0962949edbc0ae1bc11066f6f9130ad42c306c0af4b95a2920bd69a",
"url": "https://osv.dev/vulnerability/CVE-2017-14158",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-14158",
"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.",
"evidence": "osv:CVE-2017-14158",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-14158",
"aliases": [
"CVE-2017-14158",
"GHSA-h7wm-ph43-c39p",
"PYSEC-2017-83"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/scrapy/scrapy",
"type": "GIT",
"events": [
{
"introduced": "5f69ec98f70e1e1e5f65fb36eb1cfb23d0be5b45"
},
{
"last_affected": "5f69ec98f70e1e1e5f65fb36eb1cfb23d0be5b45"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:scrapy:scrapy:1.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.4"
},
{
"last_affected": "1.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.4",
"1.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14158.json"
}
}
],
"modified": "2026-10-20T10:47:46.760675704Z",
"provider": "osv",
"references": [
"https://github.com/scrapy/scrapy/issues/482"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-14158",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379693,
"published_at": "2017-09-05T17:29:00.23+00:00"
}