CVE-2020-15111
published medium CVSS 3.1 · 4.2CRLF vulnerability in Fiber
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gofiber | — | fiber< 1.12.6 | Affected | Not stated | GitHub_M |
Description
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gofiber | fiber | < 1.12.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-93 CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
2Provider assertions
2GitHub_M · cna
CRLF vulnerability in Fiber
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3926b83d661d71d224f51859a28118fee33aa395e4d64b47afc636d92eadf31d
- Ingested
- 23 Sep 2026, 07:48:45 UTC
- Source record
- Official CVE record