Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    BREW-MAILCATCHER-CVE-202… (GHSA-GJH7-P2FX-99VX)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:11 – Updated: 2026-09-17 17:44 – Source website
    VLAI
    Summary
    Rack has an Unbounded-Parameter DoS in Rack::QueryParser
    Details

    Summary

    Rack::QueryParser parses query strings and application/x-www-form-urlencoded bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters.

    Details

    The vulnerability arises because Rack::QueryParser iterates over each &-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing.

    Impact

    An attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted.

    Mitigation

    • Update to a version of Rack that limits the number of parameters parsed, or
    • Use middleware to enforce a maximum query string size or parameter count, or
    • Employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies.

    Limiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "rack",
            "resource_purl": "pkg:gem/rack@3.2.7",
            "upstream_fixed_in": "3.1.14"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "mailcatcher",
            "purl": "pkg:brew/mailcatcher"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.8.1"
                },
                {
                  "fixed": "0.11.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "RubyGems",
            "key": "pkg:gem/rack@3.2.7",
            "name": "rack",
            "resource": "rack",
            "strategy": "registry",
            "subject_version": "3.2.7"
          }
        ]
      },
      "details": "## Summary\n\n`Rack::QueryParser` parses query strings and `application/x-www-form-urlencoded` bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters.\n\n## Details\n\nThe vulnerability arises because `Rack::QueryParser` iterates over each `\u0026`-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing.\n\n## Impact\n\nAn attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted.\n\n## Mitigation\n\n- Update to a version of Rack that limits the number of parameters parsed, or\n- Use middleware to enforce a maximum query string size or parameter count, or\n- Employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies.\n\nLimiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.",
      "id": "BREW-mailcatcher-CVE-2025-46727",
      "modified": "2026-09-17T17:44:12Z",
      "published": "2026-08-13T17:11:30Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/rack/rack/security/advisories/GHSA-gjh7-p2fx-99vx"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-46727"
        },
        {
          "type": "WEB",
          "url": "https://github.com/rack/rack/commit/2bb5263b464b65ba4b648996a579dbd180d2b712"
        },
        {
          "type": "WEB",
          "url": "https://github.com/rack/rack/commit/3f5a4249118d09d199fe480466c8c6717e43b6e3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/rack/rack/commit/cd6b70a1f2a1016b73dc906f924869f4902c2d74"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/rack/rack"
        },
        {
          "type": "WEB",
          "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-46727.yml"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Rack has an Unbounded-Parameter DoS in Rack::QueryParser",
      "upstream": [
        "GHSA-gjh7-p2fx-99vx",
        "CVE-2025-46727"
      ]
    }

    BREW-TRAVIS-CVE-2025-46727 (GHSA-GJH7-P2FX-99VX)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:44 – Updated: 2026-10-07 23:46 – Source website
    VLAI
    Summary
    Rack has an Unbounded-Parameter DoS in Rack::QueryParser
    Details

    Summary

    Rack::QueryParser parses query strings and application/x-www-form-urlencoded bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters.

    Details

    The vulnerability arises because Rack::QueryParser iterates over each &-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing.

    Impact

    An attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted.

    Mitigation

    • Update to a version of Rack that limits the number of parameters parsed, or
    • Use middleware to enforce a maximum query string size or parameter count, or
    • Employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies.

    Limiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": null,
            "range_state": "affected",
            "resource": "rack",
            "resource_purl": "pkg:gem/rack@3.0.11",
            "upstream_fixed_in": "3.0.16"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "travis",
            "purl": "pkg:brew/travis"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.14.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "RubyGems",
            "key": "pkg:gem/rack@3.0.11",
            "name": "rack",
            "resource": "rack",
            "strategy": "registry",
            "subject_version": "3.0.11"
          }
        ]
      },
      "details": "## Summary\n\n`Rack::QueryParser` parses query strings and `application/x-www-form-urlencoded` bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters.\n\n## Details\n\nThe vulnerability arises because `Rack::QueryParser` iterates over each `\u0026`-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing.\n\n## Impact\n\nAn attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted.\n\n## Mitigation\n\n- Update to a version of Rack that limits the number of parameters parsed, or\n- Use middleware to enforce a maximum query string size or parameter count, or\n- Employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies.\n\nLimiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.",
      "id": "BREW-travis-CVE-2025-46727",
      "modified": "2026-10-07T23:46:17Z",
      "published": "2026-08-13T17:44:53Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/rack/rack/security/advisories/GHSA-gjh7-p2fx-99vx"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-46727"
        },
        {
          "type": "WEB",
          "url": "https://github.com/rack/rack/commit/2bb5263b464b65ba4b648996a579dbd180d2b712"
        },
        {
          "type": "WEB",
          "url": "https://github.com/rack/rack/commit/3f5a4249118d09d199fe480466c8c6717e43b6e3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/rack/rack/commit/cd6b70a1f2a1016b73dc906f924869f4902c2d74"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/rack/rack"
        },
        {
          "type": "WEB",
          "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-46727.yml"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Rack has an Unbounded-Parameter DoS in Rack::QueryParser",
      "upstream": [
        "GHSA-gjh7-p2fx-99vx",
        "CVE-2025-46727"
      ]
    }

    CVE-2025-46727 (GCVE-0-2025-46727)

    Vulnerability from cvelistv5 – Published: 2025-05-07 23:07 – Updated: 2025-05-08 14:01
    VLAI
    Title
    Unbounded-Parameter DoS in Rack::QueryParser
    Summary
    Rack is a modular Ruby web server interface. Prior to versions 2.2.14, 3.0.16, and 3.1.14, `Rack::QueryParser` parses query strings and `application/x-www-form-urlencoded` bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters. The vulnerability arises because `Rack::QueryParser` iterates over each `&`-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing. An attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted. Versions 2.2.14, 3.0.16, and 3.1.14 fix the issue. Some other mitigations are available. One may use middleware to enforce a maximum query string size or parameter count, or employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies. Limiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-05-08 14:00 UTC
    CWE
    • CWE-400 - Uncontrolled Resource Consumption
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    GitHub_M CNA
    Impacted products
    Vendor Product Version
    rack rack Affected: < 2.2.14
    Affected: >= 3.0, < 3.0.16
    Affected: >= 3.1, < 3.1.14
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-46727",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-05-08T14:00:33.554320Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-05-08T14:01:06.865Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "rack",
              "vendor": "rack",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 2.2.14"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 3.0, \u003c 3.0.16"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 3.1, \u003c 3.1.14"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Rack is a modular Ruby web server interface. Prior to versions 2.2.14, 3.0.16, and 3.1.14, `Rack::QueryParser` parses query strings and `application/x-www-form-urlencoded` bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters. The vulnerability arises because `Rack::QueryParser` iterates over each `\u0026`-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing. An attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted. Versions 2.2.14, 3.0.16, and 3.1.14 fix the issue. Some other mitigations are available. One may use middleware to enforce a maximum query string size or parameter count, or employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies. Limiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-400",
                  "description": "CWE-400: Uncontrolled Resource Consumption",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770: Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-05-07T23:07:40.563Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/rack/rack/security/advisories/GHSA-gjh7-p2fx-99vx",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/rack/rack/security/advisories/GHSA-gjh7-p2fx-99vx"
            },
            {
              "name": "https://github.com/rack/rack/commit/2bb5263b464b65ba4b648996a579dbd180d2b712",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/rack/rack/commit/2bb5263b464b65ba4b648996a579dbd180d2b712"
            },
            {
              "name": "https://github.com/rack/rack/commit/3f5a4249118d09d199fe480466c8c6717e43b6e3",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/rack/rack/commit/3f5a4249118d09d199fe480466c8c6717e43b6e3"
            },
            {
              "name": "https://github.com/rack/rack/commit/cd6b70a1f2a1016b73dc906f924869f4902c2d74",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/rack/rack/commit/cd6b70a1f2a1016b73dc906f924869f4902c2d74"
            }
          ],
          "source": {
            "advisory": "GHSA-gjh7-p2fx-99vx",
            "discovery": "UNKNOWN"
          },
          "title": "Unbounded-Parameter DoS in Rack::QueryParser"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2025-46727",
        "datePublished": "2025-05-07T23:07:40.563Z",
        "dateReserved": "2025-04-28T20:56:09.084Z",
        "dateUpdated": "2025-05-08T14:01:06.865Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }