ghsa-mh55-gqvf-xfwm
Vulnerability from github
Published
2024-07-05 19:42
Modified
2025-08-06 22:10
Summary
Denial of service via malicious preflight requests in github.com/rs/cors
Details

Middleware causes a prohibitive amount of heap allocations when processing malicious preflight requests that include a Access-Control-Request-Headers (ACRH) header whose value contains many commas. This behavior can be abused by attackers to produce undue load on the middleware/server as an attempt to cause a denial of service.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/rs/cors"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "1.9.0"
            },
            {
              "fixed": "1.11.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-47908"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-770"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-07-05T19:42:48Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "Middleware causes a prohibitive amount of heap allocations when processing malicious preflight requests that include a Access-Control-Request-Headers (ACRH) header whose value contains many commas. This behavior can be abused by attackers to produce undue load on the middleware/server as an attempt to cause a denial of service.",
  "id": "GHSA-mh55-gqvf-xfwm",
  "modified": "2025-08-06T22:10:52Z",
  "published": "2024-07-05T19:42:48Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-47908"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rs/cors/issues/170"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rs/cors/pull/171"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rs/cors/commit/4c32059b2756926619f6bf70281b91be7b5dddb2"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/rs/cors"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2024-2883"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Denial of service via malicious preflight requests in github.com/rs/cors"
}


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.
  • 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…