Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod: upgrade gin-gonic to latest version to avoid vulnerability #1340

Closed
venu-prasanna-tw opened this issue Jun 15, 2022 · 1 comment · Fixed by #1341
Closed

go.mod: upgrade gin-gonic to latest version to avoid vulnerability #1340

venu-prasanna-tw opened this issue Jun 15, 2022 · 1 comment · Fixed by #1341
Labels

Comments

@venu-prasanna-tw
Copy link

We are using the latest version of [gopkg.in/DataDog/dd-trace-go.v1@v1.38.1] which internally uses the gin-gonic library and the version is [github.com/gin-gonic/gin@v1.7.0] in go.mod

This has introduced snyk vulnerability HTTP Response Splitting with the following path:
gopkg.in/DataDog/dd-trace-go.v1@v1.38.1 › github.com/gin-gonic/gin@v1.7.0

Snyk issue link: https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736

In order to solve this issue gin-gonic library version has to upgraded to 1.7.7 or higher. can you please upgrade it.

I tried updating the library, but it fails when I try to push it to the new branch.

@nsrip-dd
Copy link
Contributor

Thanks for reporting. I've opened #1341 to upgrade the dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants