HTTP Response Splitting Affecting github.com/gin-gonic/gin Open this link in a new tab package, versions <1.7.7


0.0
high
  • Attack Complexity

    Low

  • User Interaction

    Required

  • Confidentiality

    High

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

    SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736

  • published

    20 Jan 2021

  • disclosed

    19 Nov 2020

  • credit

    Soren L. Hansen

How to fix?

Upgrade github.com/gin-gonic/gin to version 1.7.7 or higher.

Overview

github.com/gin-gonic/gin 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.