PT-2021-12082
CVE-2020-36567
·
Published
2021-04-14
·
Updated
2025-04-11
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions:
gin-gonic/gin versions prior to 1.6.0
Description:
The issue allows remote attackers to inject arbitrary log lines due to unsanitized input in the default logger. This can be achieved by manipulating the request path, which affects the default Formatter for the Logger middleware.
Recommendations:
For versions prior to 1.6.0, update to version 1.6.0 or later to resolve the issue. As a temporary workaround, consider disabling the default logger until a patch is available. Restrict access to the Logger middleware to minimize the risk of exploitation. Avoid using the default Formatter for the Logger middleware until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾