aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-30 21:23:05 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-30 21:23:05 -0700
commit41efc6e629e9ef9733f56f0ade848dc6d7c11c3a (patch)
tree8345edba34439fb7679c751d308f7b2956316f10
parent7b776be285de6c3980af9c1368a0534e5e62d7df (diff)
downloadseaweedfs-41efc6e629e9ef9733f56f0ade848dc6d7c11c3a.tar.xz
seaweedfs-41efc6e629e9ef9733f56f0ade848dc6d7c11c3a.zip
Update go.mod
CVE-2020-28483 high severity Vulnerable versions: < 1.7.0 Patched version: 1.7.0 This affects all versions of package github.com/gin-gonic/gin under 1.7.0. When gin is exposed directly to the internet, a client's IP can be spoofed by setting the X-Forwarded-For header.
-rw-r--r--go.mod2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index c3992eefb..df2d17f21 100644
--- a/go.mod
+++ b/go.mod
@@ -170,7 +170,7 @@ require (
github.com/d4l3k/messagediff v1.2.1 // indirect
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
- github.com/gin-gonic/gin v1.6.0 // indirect
+ github.com/gin-gonic/gin v1.7.0 // indirect
github.com/go-playground/locales v0.13.0 // indirect
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/go-playground/validator/v10 v10.2.0 // indirect