Gorilla CSRF Vulnerability — Ubuntu Security Update (USN-9297-1)
USN-9297-1 fixes CVE-2025-24358 in Gorilla CSRF on Ubuntu 24.04 LTS, 22.04 LTS and 20.04 LTS: Gorilla CSRF could allow a remote attacker to perform actions as another user. A standard system update installs the fix.
SharedLicense lisansı altında bunun anlamı
The notice itself does not spell out the impact; the vendor pages linked above have the details.
-
USN-9297-1
Publication date
1 December 2026
Overview
Gorilla CSRF could allow a remote attacker to perform actions as another
user.
Releases
Packages
- golang-github-gorilla-csrf – Cross Site Request Forgery (CSRF) prevention middleware for Go
Details
It was discovered that Gorilla CSRF did not properly validate the Origin
and Referer headers of cross-origin requests. A remote attacker who was
able to perform cross-site scripting attacks on a site sharing the same
top-level domain could possibly use this issue to perform cross-site
request forgery attacks. After this update, Gorilla CSRF treats all
requests as HTTPS requests unless the application marks them as plaintext
HTTP requests.
It was discovered that Gorilla CSRF did not properly validate the Origin
and Referer headers of cross-origin requests. A remote attacker who was
able to perform cross-site scripting attacks on a site sharing the same
top-level domain could possibly use this issue to perform cross-site
request forgery attacks. After this update, Gorilla CSRF treats all
requests as HTTPS requests unless the application marks them as plaintext
HTTP requests.
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.
The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 24.04 LTS noble | golang-github-gorilla-csrf-dev – 1.7.2-1ubuntu0.24.04.1 | ||
| 22.04 LTS jammy | golang-github-gorilla-csrf-dev – 1.6.2-2+deb11u1build0.22.04.1 | ||
| 20.04 LTS focal | golang-github-gorilla-csrf-dev – 1.6.2-2ubuntu0.20.04.1~esm1 Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future. | ||
References
Sıkça Sorulan Sorular
What does USN-9297-1 fix?
Which Ubuntu releases are affected?
How do I apply USN-9297-1?
Which packages are updated?
Referanslar
Sisteminizi güvenlik açıkları açısından kontrol edin
Size uygun tam düzeltme komutlarını görmek için ürününüzü ve işletim sisteminizi seçin.
Sisteminizi Kontrol Edin