{"schemaVersion":3,"id":"CVE-2024-3572","aliases":["GHSA-7j7m-v7m3-jqm7","PYSEC-2026-1907","UBUNTU-CVE-2024-3572","DEBIAN-CVE-2024-3572"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2024-04-16T00:00:14.499Z","modified":"2024-08-01T20:12:07.961Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00814,"percentile":0.56344,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00814},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00814,"percentile":0.56344}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00814,"percentile":0.56344}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_87A28AE809D11509","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)","description":"The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/409.html"}],"affected":[{"vendor":"debian","product":"python-scrapy","name":"python-scrapy","label":"python-scrapy","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-scrapy","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.11.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.11.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-scrapy","name":"python-scrapy","label":"python-scrapy","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-scrapy","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.5.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7.3-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.5.1-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.5.0-1ubuntu0.1~esm1 | < 1.7.3-1ubuntu0.1~esm1 | < 2.5.1-2ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"PyPI","product":"scrapy","name":"scrapy","label":"scrapy","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/scrapy","purlType":"pypi","versions":[{"text":"< 1.8.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.11.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.4 | ≥ 2.0.0, < 2.11.1","eol":null,"hubHref":null},{"vendor":"scrapy","product":"scrapy","name":"scrapy","label":"scrapy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.11.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.1","eol":null,"hubHref":"/vendor/scrapy/scrapy"},{"vendor":"scrapy","product":"scrapy/scrapy","name":"scrapy/scrapy","label":"scrapy/scrapy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 2.11.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 2.11.1","eol":null,"hubHref":"/vendor/scrapy/scrapyscrapy"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb","label":"huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb","hostname":"huntr.com","tags":["WEB","REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f","label":"github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f","hostname":"github.com","tags":["WEB","REPORT","Patch"]},{"url":"https://github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7","label":"github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3572","label":"nvd.nist.gov/vuln/detail/CVE-2024-3572","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/scrapy/scrapy/commit/71b8741e3607cfda2833c7624d4ada87071aa8e5","label":"github.com/scrapy/scrapy/commit/71b8741e3607cfda2833c7624d4ada87071aa8e5","hostname":"github.com","tags":["WEB"]},{"url":"https://docs.scrapy.org/en/latest/news.html#scrapy-2-11-1-2024-02-14","label":"docs.scrapy.org/en/latest/news.html","hostname":"docs.scrapy.org","tags":["WEB"]},{"url":"https://github.com/scrapy/scrapy","label":"github.com/scrapy/scrapy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/scrapy","label":"pypi.org/project/scrapy","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-7j7m-v7m3-jqm7","label":"github.com/advisories/GHSA-7j7m-v7m3-jqm7","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-3572","label":"ubuntu.com/security/CVE-2024-3572","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-3572","label":"www.cve.org/CVERecord?id=CVE-2024-3572","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7476-1","label":"ubuntu.com/security/notices/USN-7476-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-3572","label":"security-tracker.debian.org/tracker/CVE-2024-3572","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-7476-1"],"duplicates":[],"related":["USN-7476-1"]},"timeline":[{"kind":"published","date":"2024-04-16T00:00:14.499Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-01T20:12:07.961Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:16:39.249Z","stale":false,"partial":false}}