{"id":"EUVD-2021-1299","revision":"03fa7ca65ae74cfeac2896bafc5cb91c","records":[{"revision":"03fa7ca65ae74cfeac2896bafc5cb91c","observedAt":"2026-11-05T18:42:13.755+00:00","statement":{"source":"euvd","id":"EUVD-2021-1299","aliases":["CVE-2020-15111","GHSA-9cx9-x2gp-9qvh"],"title":"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 …","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().","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"severity":null}],"references":["https://github.com/gofiber/fiber/security/advisories/GHSA-9cx9-x2gp-9qvh","https://github.com/gofiber/fiber/pull/579/commits/f698b5d5066cfe594102ae252cd58a1fe57cf56f"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1299","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 20, 2020, 5:40:14 PM","dateUpdated":"Aug 4, 2024, 1:08:21 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-1299","identifiers":["EUVD-2021-1299","CVE-2020-15111","GHSA-9cx9-x2gp-9qvh"]},"retained":false,"historicalAffected":[]}],"coverage":[]}