Skip to content

Commit

Permalink
Merge pull request #3341 from oasisprotocol/ptrus/fix/replace-etcd
Browse files Browse the repository at this point in the history
go/dependencies/etcd: update etcd with replace directive
  • Loading branch information
ptrus authored Sep 30, 2020
2 parents 13125b8 + c389110 commit 007ccf6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .changelog/3341.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go/dependencies/etcd: update etcd with replace directive
5 changes: 0 additions & 5 deletions go/.nancy-ignore
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
# Beats me how and why etcd is even imported in viper.
# https://github.com/spf13/viper/issues/956
CVE-2020-15114
CVE-2020-15136
CVE-2020-15115
4 changes: 4 additions & 0 deletions go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module github.com/oasisprotocol/oasis-core/go

replace (
// Fixes vulnerabilities in etcd v3.3.{10,13} (dependencies via viper).
// Can be removed once there is a spf13/viper release with updated etcd.
// https://github.com/spf13/viper/issues/956
github.com/coreos/etcd => github.com/coreos/etcd v3.3.25+incompatible
// Updates the version used in spf13/cobra (dependency via tendermint) as
// there is no release yet with the fix. Remove once an updated release of
// spf13/cobra exists and tendermint is updated to include it.
Expand Down
3 changes: 1 addition & 2 deletions go/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:z
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd h1:qMd81Ts1T2OTKmB4acZcyKaMtRnY5Y44NuXGX2GFJ1w=
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/etcd v3.3.25+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM=
Expand Down

0 comments on commit 007ccf6

Please sign in to comment.