HTTP Response Splitting Affecting github.com/gin-gonic/gin package, versions <1.7.7


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High

    Threat Intelligence

    EPSS 0.21% (59th percentile)
Expand this section
NVD
7.1 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.