5.8

CVE-2020-15111: CRLF vulnerability in Fiber

Modified
AliasesGHSA-9cx9-x2gp-9qvhGO-2021-0108
Published 20-07-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-15111 is a medium (CVSS 5.8) Injection vulnerability in gofiber fiber. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 58.1% of scored vulnerabilities.

Overall risk
23/100
0100
Low · default modelHow is this calculated?
CVSS score
5.8/10
010
Medium · v2.0 (NVD)
EPSS score
0.86%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 20-07-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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().

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.86%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.86% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Github.com/gofiber1 product
  • fiber< 1.12.6
Gofiber1 product

2 vendors · 2 products

References

7 links