ghsa-2qfp-q593-8484
Vulnerability from github
Published
2025-10-31 00:30
Modified
2025-11-07 19:11
Summary
Scrapy with Brotli is vulnerable to a denial of service (DoS) attack due to decompression
Details

Brotli versions up to 1.1.0 are vulnerable to a denial of service (DoS) attack due to decompression. This issue has been patched in Brotli version 1.2.0.

Additionally, this affects users who implement the Brotli decompression with Scrapy versions up to 2.13.2, leaving them vulnerable to a denial of service (DoS) attack. The protection mechanism against decompression bombs fails to mitigate the brotli variant, allowing remote servers to crash clients with less than 80GB of available memory. This occurs because brotli can achieve extremely high compression ratios for zero-filled data, leading to excessive memory consumption during decompression.

Show details on source website


{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 1.1.0"
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "brotli"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "Scrapy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2.13.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-6176"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-10-31T21:23:47Z",
    "nvd_published_at": "2025-10-31T00:15:37Z",
    "severity": "HIGH"
  },
  "details": "Brotli versions up to 1.1.0 are vulnerable to a denial of service (DoS) attack due to decompression. This issue has been patched in Brotli version 1.2.0. \n\nAdditionally, this affects users who implement the Brotli decompression with Scrapy versions up to 2.13.2, leaving them vulnerable to a denial of service (DoS) attack. The protection mechanism against decompression bombs fails to mitigate the brotli variant, allowing remote servers to crash clients with less than 80GB of available memory. This occurs because brotli can achieve extremely high compression ratios for zero-filled data, leading to excessive memory consumption during decompression.",
  "id": "GHSA-2qfp-q593-8484",
  "modified": "2025-11-07T19:11:50Z",
  "published": "2025-10-31T00:30:35Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-6176"
    },
    {
      "type": "WEB",
      "url": "https://github.com/google/brotli/issues/1327#issuecomment-3457434715"
    },
    {
      "type": "WEB",
      "url": "https://github.com/google/brotli/issues/1327#issuecomment-3479462458"
    },
    {
      "type": "WEB",
      "url": "https://github.com/google/brotli/issues/1375"
    },
    {
      "type": "WEB",
      "url": "https://github.com/github/advisory-database/pull/6380"
    },
    {
      "type": "WEB",
      "url": "https://github.com/google/brotli/pull/1234"
    },
    {
      "type": "WEB",
      "url": "https://github.com/scrapy/scrapy/pull/7134"
    },
    {
      "type": "WEB",
      "url": "https://github.com/google/brotli/commit/67d78bc41db1a0d03f2e763497748f2f69946627"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/google/brotli"
    },
    {
      "type": "WEB",
      "url": "https://github.com/google/brotli/releases/tag/v1.2.0"
    },
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/2c26a886-5984-47ee-a421-0d5fe1344eb0"
    }
  ],
  "schema_version": "1.4.0",
  "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": "Scrapy with Brotli is vulnerable to a denial of service (DoS) attack due to decompression"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…