LowGO-2021-0108CVE-2020-15111GHSA-9cx9-x2gp-9qvh

CRLF vulnerability in Fiber in github.com/gofiber/fiber

Published 28 Jul 2021 · Updated 20 May 2024

Is your project on an affected github.com/gofiber/fiber?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.12.6
Fixed in
1.12.6
Update to the fixed version for your release line, for example:go get github.com/gofiber/fiber@v1.12.6

Details

Due to improper input sanitization, a maliciously constructed filename could cause a file download to use an attacker controlled filename, as well as injecting additional headers into an HTTP response.

Is GO-2021-0108 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/gofiber/fiber, and gives you the command that fixes it.

More advisories for github.com/gofiber/fiber

  • MediumCVE-2026-53624GoFiber never set HSTS header in helmet middleware due to incorrect protocol check · 6 Jul 2026
  • LowCVE-2025-66630Fiber has an insecure fallback in utils.UUIDv4() / utils.UUID() on crypto/rand failure in github.com/gofiber/fiber · 19 Feb 2026
  • LowCVE-2025-48075Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber · 27 May 2025
  • LowCVE-2024-38513Session Middleware Token Injection Vulnerability in github.com/gofiber/fiber · 2 Jul 2024
  • CriticalCVE-2024-38513Session Middleware Token Injection Vulnerability · 1 Jul 2024
  • MediumCVE-2023-41338Fiber unauthorized access vulnerability in `ctx.IsFromLocal()` · 8 Sept 2023
github.com/gofiber/fiber security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.