Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gin-gonic/gin
  4. ›
  5. CVE-2020-36567

CVE-2020-36567: Gin's default logger allows unsanitized input that can allow remote attackers to inject arbitrary log lines

December 27, 2022 (updated December 30, 2022)

Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.

References

  • github.com/advisories/GHSA-6vm3-jj99-7229
  • github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d
  • github.com/gin-gonic/gin/pull/2237
  • nvd.nist.gov/vuln/detail/CVE-2020-36567
  • pkg.go.dev/vuln/GO-2020-0001

Code Behaviors & Features

Detect and mitigate CVE-2020-36567 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.0

Fixed versions

  • v1.6.0

Solution

Upgrade to version 1.6.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Source file

go/github.com/gin-gonic/gin/CVE-2020-36567.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:45 +0000.