Vulnerabilities · 2020 · Gofiber
CVE-2020-15111
Gofiber Fiber vulnerability
In Fiber before version 1.12.6, the filename that is given in c.Attachment() (https://docs.gofiber.io/ctx#attachment) is not escaped, and therefore vulnerable for a CRLF injection attack. I.e. an attacker could upload a custom filename and then give the link to the victim. With this filename, the attacker can change the name of the downloaded file, redirect to another site, change the authorization header, etc. A possible workaround is to serialize the input before passing it to ctx.Attachment().
Affected products
Fiber. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gofiber Fiber runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Gofiber products
CVE-2025-66565CVE-2025-54801CVE-2025-48075CVE-2024-38513CVE-2024-25124CVE-2024-22199CVE-2023-45141CVE-2023-45128All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.