p PatchFirst

CVE-2025-47909

CVE-2025-47909 · Improper validation of TrustedOrigins allows CSRF attacks in github.com/gorilla/csrf

CVSS 7.3 · Hoch · EPSS 0,2%

Vergleichen Sie mit Ihrer installierten Version

Betroffene Produkte und bekannte korrigierte Versionen sind öffentlich. Vergleichen Sie diese mit Ihrer installierten Version.

Installierte Version prüfen:

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

Bewerten Sie die Risiken Ihres Servers

Die kostenlose Prüfung liefert ohne Registrierung eine Bewertung und eine Risikoübersicht nach Technologie-Stacks. Sie beantwortet nicht, ob diese einzelne Schwachstelle Sie betrifft.

Die Überwachung gleicht öffentliche Informationen mit der Software Ihrer Server ab. Sie erhalten detaillierte Funde und eine Reihenfolge für Updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Server kostenlos prüfen →

Kanäle bieten allgemeine Nachrichten zu Technologien; neue Funde auf Ihren Servern meldet die Überwachung im Dashboard, per Browser-Benachrichtigung, in Telegram oder über einen Webhook.

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

Hosts listed in TrustedOrigins implicitly allow requests from the corresponding HTTP origins, allowing network MitMs to perform CSRF attacks. After the CVE-2025-24358 fix, a network attacker that places a form at http://example.com can't get it to submit to https://example.com because the Origin header is checked with sameOrigin against a synthetic URL. However, if a host is added to TrustedOrigins, both its HTTP and HTTPS origins will be allowed, because the schema of the synthetic URL is ignored and only the host is checked. For example, if an application is hosted on https://example.com and adds example.net to TrustedOrigins, a network attacker can serve a form at http://example.net to perform the attack. Applications should migrate to net/http.CrossOriginProtection, introduced in Go 1.25. If that is not an option, a backport is available as a module at filippo.io/csrf, and a drop-in replacement for the github.com/gorilla/csrf API is available at filippo.io/csrf/gorilla.

Veröffentlicht
Aktualisiert

Technologie-Stack: system

Betroffene Produkte und Versionen

  • github.com/gorilla/csrf

    Softwareversionen
    • ≥ 0, < 1.7.3: Nicht betroffen (semver)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Debian 12

    Softwareversionen
    • 1.7.1-1
    • 1.7.2+ds1-1
    • 1.7.2+ds1-2
    • 1.7.2+ds1-3
    • 1.7.2-1
    • 1.7.2-1~bpo12+1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Debian 13

    Softwareversionen
    • 1.7.2+ds1-2
    • 1.7.2+ds1-3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Debian 14

    Softwareversionen
    • 1.7.2+ds1-2
    • 1.7.2+ds1-3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Ubuntu 20.04 LTS

    Softwareversionen
    • 1.6.2-1
    • 1.6.2-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Ubuntu 22.04 LTS

    Softwareversionen
    • 1.6.2-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Ubuntu 24.04 LTS

    Softwareversionen
    • 1.7.1-1
    • 1.7.2-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Ubuntu 25.10

    Softwareversionen
    • 1.7.2+ds1-1
    • 1.7.2+ds1-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Ubuntu 26.10

    Softwareversionen
    • 1.7.2+ds1-2
    • 1.7.2+ds1-3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • golang-github-gorilla-csrf Ubuntu 26.04 LTS

    Softwareversionen
    • 1.7.2+ds1-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →