HTTP Response Splitting Affecting Open this link in a new tab package, versions <1.7.7

  • Attack Complexity


  • User Interaction


  • Confidentiality


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    20 Jan 2021

  • disclosed

    19 Nov 2020

  • credit

    Soren L. Hansen

How to fix?

Upgrade to version 1.7.7 or higher.

Overview is a package that implements a HTTP web framework called gin.

Affected versions of this package are vulnerable to HTTP Response Splitting. When gin is exposed directly to the internet, a client's IP can be spoofed by setting the X-Forwarded-For header.