GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
brew-scrapy-cve-2024-1892
Vulnerability from osv_homebrew
Published
2026-08-13 17:34
Modified
2026-09-11 17:10
Summary
ReDoS Vulnerability in scrapy/scrapy's XMLFeedSpider
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "fix": "bump",
        "range_state": "fixed",
        "upstream_fixed_in": "2.11.1"
      },
      "package": {
        "ecosystem": "Homebrew",
        "name": "scrapy",
        "purl": "pkg:brew/scrapy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.17.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "confidence": "high",
    "source": "matched",
    "strategy": "git",
    "upstream_evidence": [
      {
        "ecosystem": "GIT",
        "key": "https://github.com/scrapy/scrapy",
        "name": "https://github.com/scrapy/scrapy",
        "strategy": "git",
        "subject_version": "2.19.0"
      },
      {
        "ecosystem": "PyPI",
        "key": "pkg:pypi/scrapy@2.19.0",
        "name": "scrapy",
        "strategy": "registry",
        "subject_version": "2.19.0"
      },
      {
        "ecosystem": "Debian",
        "key": "Debian/python-scrapy",
        "name": "python-scrapy",
        "strategy": "distro"
      },
      {
        "ecosystem": "GIT",
        "key": "upstream:https://github.com/scrapy/scrapy",
        "name": "https://github.com/scrapy/scrapy",
        "strategy": "distro",
        "subject_version": "2.19.0"
      },
      {
        "ecosystem": "PyPI",
        "key": "upstream:pkg:pypi/scrapy@2.19.0",
        "name": "scrapy",
        "strategy": "distro",
        "subject_version": "2.19.0"
      },
      {
        "ecosystem": "Ubuntu",
        "key": "Ubuntu/python-scrapy",
        "name": "python-scrapy",
        "strategy": "distro"
      }
    ]
  },
  "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.",
  "id": "BREW-scrapy-CVE-2024-1892",
  "modified": "2026-09-11T17:10:11Z",
  "published": "2026-08-13T17:34:19Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1892.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1892"
    },
    {
      "type": "FIX",
      "url": "https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ReDoS Vulnerability in scrapy/scrapy\u0027s XMLFeedSpider",
  "upstream": [
    "CVE-2024-1892",
    "GHSA-cc65-xxvf-f7r9",
    "PYSEC-2024-162"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…