PT-2020-14193

CVE-2020-15111

·

Published

2020-07-20

·

Updated

2021-10-07

Description by

CVSS 2.0
5.8
Medium
MetricsAV:N/AC:M/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions Fiber versions prior to 1.12.6
Description The issue arises from improper input sanitization in the c.Attachment() function, allowing a maliciously constructed filename to inject additional headers into an HTTP response. This can lead to a CRLF injection attack, where an attacker could upload a custom filename, change the name of the downloaded file, redirect to another site, or change the authorization header.
Recommendations For versions prior to 1.12.6, a possible workaround is to serialize the input before passing it to ctx.Attachment(). This issue has been patched in version 1.12.6, so updating to this version or later will resolve the issue.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-9CX9-X2GP-9QVH
GO-2021-0108
Found an issue in the description? Have something to add? Feel free to write us 👾