{"schemaVersion":3,"id":"CVE-2024-1892","aliases":["GHSA-cc65-xxvf-f7r9","PYSEC-2024-162","UBUNTU-CVE-2024-1892","DEBIAN-CVE-2024-1892"],"status":"published","duplicateOf":null,"title":null,"description":"A Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFeedSpider class of the scrapy/scrapy project, specifically in the parsing of XML content. By crafting malicious XML content that exploits inefficient regular expression complexity used in the parsing process, an attacker can cause a denial-of-service (DoS) condition. This vulnerability allows for the system to hang and consume significant resources, potentially rendering services that utilize Scrapy for XML processing unresponsive.","dates":{"published":"2024-02-28T00:00:14.092Z","modified":"2024-08-11T14:28:49.917Z","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":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"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.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"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.00557,"percentile":0.45395,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00557},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00557,"percentile":0.45395}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00557,"percentile":0.45395}]},"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_2920477789757F12","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.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":"≥ 2, < 2.11.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.8.4","noFixRecorded":false,"fixedIn":null},{"text":"< 479619b340f197a8f24c5db45bc068fb8755f2c5","noFixRecorded":false,"fixedIn":null},{"text":"< 2.11.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2, < 2.11.1 | < 1.8.4 | < 479619b340f197a8f24c5db45bc068fb8755f2c5 | < 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","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 2.11","eol":null,"hubHref":"/vendor/scrapy/scrapyscrapy"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b","label":"huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b","hostname":"huntr.com","tags":["WEB","EVIDENCE","FIX","REPORT","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5","label":"github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5","hostname":"github.com","tags":["WEB","FIX","REPORT","Patch"]},{"url":"https://github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9","label":"github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/scrapy/scrapy/commit/73e7c0ed011a0565a1584b8052ec757b54e5270b","label":"github.com/scrapy/scrapy/commit/73e7c0ed011a0565a1584b8052ec757b54e5270b","hostname":"github.com","tags":["WEB"]},{"url":"https://docs.scrapy.org/en/latest/news.html#scrapy-1-8-4-2024-02-14","label":"docs.scrapy.org/en/latest/news.html","hostname":"docs.scrapy.org","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/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2024-162.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2024-162.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/scrapy/scrapy","label":"github.com/scrapy/scrapy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-cc65-xxvf-f7r9","label":"github.com/advisories/GHSA-cc65-xxvf-f7r9","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-1892","label":"ubuntu.com/security/CVE-2024-1892","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b/","label":"huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b/","hostname":"huntr.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-1892","label":"www.cve.org/CVERecord?id=CVE-2024-1892","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-1892","label":"security-tracker.debian.org/tracker/CVE-2024-1892","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-7476-1"],"duplicates":[],"related":["USN-7476-1"]},"timeline":[{"kind":"published","date":"2024-02-28T00:00:14.092Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-11T14:28:49.917Z","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-20T17:42:55.738Z","stale":false,"partial":false}}