Skip to content

← Public intelligence

Go package

github.com/rs/cors

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratedGoPublished

    Denial of service via malicious preflight requests in github.com/rs/cors

    CVE-2025-47908 · GHSA-mh55-gqvf-xfwm

    Affected
    • Go github.com/rs/cors >= 1.9.0, < 1.11.0
    Fixed in
    1.11.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.11.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.9GoPublished

    github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error

    CVE-2018-20744 · GHSA-927h-x4qj-r242

    Affected
    • Go github.com/rs/cors < 1.5.0
    Fixed in
    1.5.0· Vendor fix available
    Issue
    The Olivier Poitrey Go CORS handler through 1.3.0 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.

    Recommended action: Upgrade to 1.5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →