mod: Upgraded xz library to FIX the CVE-2021-29482

Included a replace directive to avoid using an high severity CVE
https://github.com/advisories/GHSA-25xm-hr59-7c27

This library is indirectly referenced and cannot be upgraded directly.

The https://github.com/fergusstrange/embedded-postgres/pull/42 was
merged to fix the CVE issue.
This commit is contained in:
naveen committed 2021-09-29 15:16:26 +00:00
1 parent 3385d38414
commit 04f57c6f57
5 files changed
+54 -12

No files matched your search

+13 -2
View File
@@ -1,14 +1,22 @@
module github.com/lightningnetwork/lnd/kvdb
require (
github.com/andybalholm/brotli v1.0.3 // indirect
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f
github.com/btcsuite/btcwallet/walletdb v1.3.6-0.20210803004036-eebed51155ec
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.1
github.com/fergusstrange/embedded-postgres v1.10.0
github.com/golang/snappy v0.0.4 // indirect
github.com/google/btree v1.0.1
github.com/fergusstrange/embedded-postgres v1.7.0
github.com/jackc/pgx/v4 v4.13.0
github.com/klauspost/compress v1.13.6 // indirect
github.com/klauspost/pgzip v1.2.5 // indirect
github.com/lib/pq v1.10.3 // indirect
github.com/lightningnetwork/lnd/healthcheck v1.0.0
github.com/nwaples/rardecode v1.1.2 // indirect
github.com/pierrec/lz4/v4 v4.1.8 // indirect
github.com/stretchr/testify v1.7.0
github.com/ulikunitz/xz v0.5.10 // indirect
go.etcd.io/bbolt v1.3.6
go.etcd.io/etcd/api/v3 v3.5.0
go.etcd.io/etcd/client/pkg/v3 v3.5.0
@@ -20,4 +28,7 @@ require (
// This replace is for https://github.com/advisories/GHSA-w73w-5m7g-f7qc
replace github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt v3.2.1+incompatible
// This replace is for https://github.com/advisories/GHSA-25xm-hr59-7c27
replace github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.8
go 1.15