PT-2021-11546

CVE-2020-28483

·

Published

2021-01-20

·

Updated

2021-06-23

Description by

CVSS 3.1
7.1
High
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions: github.com/gin-gonic/gin versions prior to 1.7.7
Description: The issue allows a client's IP to be spoofed by setting the X-Forwarded-For header when the gin package is exposed directly to the internet. This is due to improper HTTP header sanitization, which may enable a user to bypass IP-based restrictions or obfuscate their true source.
Recommendations: For versions prior to 1.7.7, update to version 1.7.7 or later to resolve the issue. As a temporary workaround, consider restricting access to the X-Forwarded-For header to minimize the risk of IP spoofing.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-H395-QCRW-5VMQ
GO-2021-0052
SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736
Found an issue in the description? Have something to add? Feel free to write us 👾