p PatchFirst

CVE-2025-47908

CVE-2025-47908 · Denial of service via malicious preflight requests in github.com/rs/cors

CVSS 7.5 · High · EPSS 1.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-rs-cors"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • openSUSE-SU-2026:21136-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2025:4481-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Package Hub 15 SP6, SUSE Linux Enterprise Module for Package Hub 15 SP7, SUSE Manager Client Tools 15, SUSE Manager Proxy LTS 4.3 ·
  • SUSE-SU-2025:4457-1 · SUSE Manager Client Tools 12 ·
  • SUSE-SU-2025:3819-1 · SUSE Multi Linux Manager Tools SLE-15, SUSE Multi Linux Manager Tools SLE-Micro-5 ·
  • SUSE-SU-2025:3817-1 · SUSE Multi Linux Manager Tools SLE-12 ·
  • openSUSE-SU-2025:15424-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • github.com/rs/cors

    Versions
    • ≥ 1.9.0, < 1.11.0: Affected (semver)

    Update to 1.11.0

  • golang-github-rs-cors Ubuntu 20.04 LTS

    Versions
    • 1.7.0-1
    • 1.7.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-rs-cors Ubuntu 22.04 LTS

    Versions
    • 1.7.0-2
    • 1.7.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-rs-cors Ubuntu 24.04 LTS

    Versions
    • 1.7.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-rs-cors Ubuntu 25.10

    Versions
    • 1.7.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-rs-cors Ubuntu 26.10

    Versions
    • 1.7.0-4
    • 1.11.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-rs-cors Ubuntu 26.04 LTS

    Versions
    • 1.7.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →