Log Injection Affecting github.com/gin-gonic/gin package, versions <1.6.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

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-550031
  • published 19 Feb 2020
  • disclosed 19 Feb 2020
  • credit junorouse

Introduced: 19 Feb 2020

CVE NOT AVAILABLE CWE-117 Open this link in a new tab

How to fix?

Upgrade github.com/gin-gonic/gin to version 1.6.0 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 Log Injection due to improper sanitisation of user-controlled log output.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None