github.com/gin-gonic/gin vulnerabilities

Registry
Go
Latest
1.12.0

8 known advisories

The latest version, 1.12.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/gin-gonic/gin@v1.12.0

Is your project on an affected github.com/gin-gonic/gin?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for github.com/gin-gonic/gin

  • CriticalCVE-2019-25211GHSA-869c-j7wc-8jqv29 Jun 2024

    Gin mishandles a wildcard at the end of an origin string

    Affected
    <1.6.0
    Fixed in
    1.6.0
  • MediumCVE-2023-29401GHSA-2c4m-59x9-fr2g12 May 2023

    Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function

    Affected
    >=1.3.1-0.20190301021747-ccb9e902956d <1.9.1
    Fixed in
    1.9.1
  • LowCVE-2023-29401GO-2023-173711 May 2023

    Improper handling of filenames in Content-Disposition HTTP header in github.com/gin-gonic/gin

    Affected
    >=1.3.1-0.20190301021747-ccb9e902956d <1.9.1
    Fixed in
    1.9.1
  • MediumCVE-2023-26125GHSA-3vp4-m3rf-835h4 May 2023

    Improper input validation in github.com/gin-gonic/gin

    Affected
    <1.9.0
    Fixed in
    1.9.0
  • HighCVE-2020-36567GHSA-6vm3-jj99-722927 Dec 2022

    Gin's default logger allows unsanitized input that can allow remote attackers to inject arbitrary log lines

    Affected
    <1.6.0
    Fixed in
    1.6.0
  • HighCVE-2020-28483GHSA-h395-qcrw-5vmq23 Jun 2021

    Inconsistent Interpretation of HTTP Requests in github.com/gin-gonic/gin

    Affected
    <1.7.7
    Fixed in
    1.7.7
  • LowCVE-2020-36567GO-2020-000114 Apr 2021

    Arbitrary log line injection in github.com/gin-gonic/gin

    Affected
    <1.6.0
    Fixed in
    1.6.0
  • LowCVE-2020-28483GO-2021-005214 Apr 2021

    Inconsistent interpretation of HTTP Requests in github.com/gin-gonic/gin

    Affected
    <1.7.7
    Fixed in
    1.7.7

Is your github.com/gin-gonic/gin version vulnerable?

Which of your client projects still run an old github.com/gin-gonic/gin?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.