From c3c245d7566b5f549b02a7006da3014ad9f7efb0 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:05:35 +0000 Subject: [PATCH] Publish Advisories GHSA-7j7m-v7m3-jqm7 GHSA-rmqv-7v3j-mr7p --- .../02/GHSA-7j7m-v7m3-jqm7/GHSA-7j7m-v7m3-jqm7.json | 12 ++++++++++-- .../04/GHSA-rmqv-7v3j-mr7p/GHSA-rmqv-7v3j-mr7p.json | 9 +++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/advisories/github-reviewed/2024/02/GHSA-7j7m-v7m3-jqm7/GHSA-7j7m-v7m3-jqm7.json b/advisories/github-reviewed/2024/02/GHSA-7j7m-v7m3-jqm7/GHSA-7j7m-v7m3-jqm7.json index 9b688375b1c..9c342cb21f0 100644 --- a/advisories/github-reviewed/2024/02/GHSA-7j7m-v7m3-jqm7/GHSA-7j7m-v7m3-jqm7.json +++ b/advisories/github-reviewed/2024/02/GHSA-7j7m-v7m3-jqm7/GHSA-7j7m-v7m3-jqm7.json @@ -1,10 +1,10 @@ { "schema_version": "1.4.0", "id": "GHSA-7j7m-v7m3-jqm7", - "modified": "2024-02-16T16:07:13Z", + "modified": "2024-04-16T14:05:17Z", "published": "2024-02-16T16:07:13Z", "aliases": [ - + "CVE-2024-3572" ], "summary": "Scrapy decompression bomb vulnerability", "details": "### Impact\n\nScrapy limits allowed response sizes by default through the [`DOWNLOAD_MAXSIZE`](https://docs.scrapy.org/en/latest/topics/settings.html#download-maxsize) and [`DOWNLOAD_WARNSIZE`](https://docs.scrapy.org/en/latest/topics/settings.html#download-warnsize) settings.\n\nHowever, those limits were only being enforced during the download of the raw, usually-compressed response bodies, and not during decompression, making Scrapy vulnerable to [decompression bombs](https://cwe.mitre.org/data/definitions/409.html).\n\nA malicious website being scraped could send a small response that, on decompression, could exhaust the memory available to the Scrapy process, potentially affecting any other process sharing that memory, and affecting disk usage in case of uncompressed response caching.\n\n### Patches\n\nUpgrade to Scrapy 2.11.1.\n\nIf you are using Scrapy 1.8 or a lower version, and upgrading to Scrapy 2.11.1 is not an option, you may upgrade to Scrapy 1.8.4 instead.\n\n### Workarounds\n\nThere is no easy workaround.\n\nDisabling HTTP decompression altogether is impractical, as HTTP compression is a rather common practice.\n\nHowever, it is technically possible to manually backport the 2.11.1 or 1.8.4 fix, replacing the corresponding components of an unpatched version of Scrapy with patched versions copied into your own code.\n\n### Acknowledgements\n\nThis security issue was reported by @dmandefy [through huntr.com](https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb/).", @@ -59,6 +59,10 @@ "type": "WEB", "url": "https://github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7" }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-3572" + }, { "type": "WEB", "url": "https://github.com/scrapy/scrapy/commit/71b8741e3607cfda2833c7624d4ada87071aa8e5" @@ -74,6 +78,10 @@ { "type": "PACKAGE", "url": "https://github.com/scrapy/scrapy" + }, + { + "type": "WEB", + "url": "https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb" } ], "database_specific": { diff --git a/advisories/github-reviewed/2024/04/GHSA-rmqv-7v3j-mr7p/GHSA-rmqv-7v3j-mr7p.json b/advisories/github-reviewed/2024/04/GHSA-rmqv-7v3j-mr7p/GHSA-rmqv-7v3j-mr7p.json index bdc0ce0f227..c84ff16a8fb 100644 --- a/advisories/github-reviewed/2024/04/GHSA-rmqv-7v3j-mr7p/GHSA-rmqv-7v3j-mr7p.json +++ b/advisories/github-reviewed/2024/04/GHSA-rmqv-7v3j-mr7p/GHSA-rmqv-7v3j-mr7p.json @@ -1,13 +1,14 @@ { "schema_version": "1.4.0", "id": "GHSA-rmqv-7v3j-mr7p", - "modified": "2024-04-16T12:42:26Z", + "modified": "2024-04-16T14:04:36Z", "published": "2024-04-16T00:30:34Z", + "withdrawn": "2024-04-16T14:04:36Z", "aliases": [ - "CVE-2024-3572" + ], - "summary": "Scrapy decompression bomb vulnerability", - "details": "The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of lxml.etree.fromstring for parsing untrusted XML data without proper validation. This vulnerability allows attackers to perform denial of service attacks, access local files, generate network connections, or circumvent firewalls by submitting specially crafted XML data. ", + "summary": "Duplicate Advisory: Scrapy decompression bomb vulnerability", + "details": "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-7j7m-v7m3-jqm7. This link is maintained to preserve external references.\n\n## Original Description\nThe scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of lxml.etree.fromstring for parsing untrusted XML data without proper validation. This vulnerability allows attackers to perform denial of service attacks, access local files, generate network connections, or circumvent firewalls by submitting specially crafted XML data. ", "severity": [ { "type": "CVSS_V3",