{"id":"UBUNTU-CVE-2024-1892","details":"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.","modified":"2026-02-05T02:14:42.657075Z","published":"2024-02-28T00:15:00Z","related":["USN-7476-1"],"upstream":["CVE-2024-1892"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-1892"},{"type":"REPORT","url":"https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b/"},{"type":"REPORT","url":"https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5"},{"type":"REPORT","url":"https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b"},{"type":"REPORT","url":"https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-1892"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7476-1"}],"affected":[{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy@1.0.3-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-1","1.0.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.3-1","binary_name":"python-scrapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1892.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy@1.5.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-1ubuntu0.1~esm1"}]}],"versions":["1.3.0-1~exp2","1.4.0-1","1.5.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.0-1ubuntu0.1~esm1","binary_name":"python-scrapy"},{"binary_version":"1.5.0-1ubuntu0.1~esm1","binary_name":"python3-scrapy"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1892.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy@1.7.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.3-1ubuntu0.1~esm1"}]}],"versions":["1.7.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.3-1ubuntu0.1~esm1","binary_name":"python3-scrapy"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1892.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy@2.5.1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1-2ubuntu0.1~esm1"}]}],"versions":["2.4.1-2","2.5.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.1-2ubuntu0.1~esm1","binary_name":"python3-scrapy"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1892.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}