p PatchFirst

CVE-2025-47909

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

CVSS 7.3 · Élevée · EPSS 0,2%

Comparez avec votre version installée

Les produits concernés et les versions corrigées connues sont des informations publiques. Comparez-les avec votre version installée.

Vérifiez la version installée :

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

Évaluez les risques de votre serveur

La vérification gratuite donne une note et un résumé des risques par pile technologique, sans inscription. Elle ne précise pas si cette vulnérabilité particulière vous concerne.

La surveillance compare les informations publiques aux logiciels de vos serveurs. Elle fournit les résultats détaillés et l’ordre des mises à jour.

curl -fsSL https://patchfirst.dev/check.sh | sh
Vérifier mon serveur gratuitement →

Les canaux diffusent des actualités générales sur les technologies ; la surveillance signale les nouveaux résultats sur vos serveurs dans votre tableau de bord, par notification du navigateur, dans Telegram ou par webhook.

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • github.com/gorilla/csrf

    Versions du logiciel
    • ≥ 0, < 1.7.3: Non concernée (semver)

    Aucun correctif publié

  • golang-github-gorilla-csrf Debian 12

    Versions du logiciel
    • 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
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-gorilla-csrf Debian 13

    Versions du logiciel
    • 1.7.2+ds1-2
    • 1.7.2+ds1-3
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-gorilla-csrf Debian 14

    Versions du logiciel
    • 1.7.2+ds1-2
    • 1.7.2+ds1-3
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-gorilla-csrf Ubuntu 20.04 LTS

    Versions du logiciel
    • 1.6.2-1
    • 1.6.2-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-gorilla-csrf Ubuntu 22.04 LTS

    Versions du logiciel
    • 1.6.2-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-gorilla-csrf Ubuntu 24.04 LTS

    Versions du logiciel
    • 1.7.1-1
    • 1.7.2-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-gorilla-csrf Ubuntu 25.10

    Versions du logiciel
    • 1.7.2+ds1-1
    • 1.7.2+ds1-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-gorilla-csrf Ubuntu 26.10

    Versions du logiciel
    • 1.7.2+ds1-2
    • 1.7.2+ds1-3
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-gorilla-csrf Ubuntu 26.04 LTS

    Versions du logiciel
    • 1.7.2+ds1-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →