-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies to address CVE-2024-7254 (#240)
This vulnerability affects the Java bindings. Go and Node bindings are also updated; as are the tooling versions used to build the bindings. Note that the Node bindings are now built targeting Node 18, since this is the oldest currently supported LTS release. Signed-off-by: Mark S. Lewis <[email protected]>
- Loading branch information
1 parent
af35fc5
commit 8e482ea
Showing
16 changed files
with
340 additions
and
2,928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ | |
/bindings/go-apiv2/**/*.pb.go | ||
/bindings/java/src | ||
/bindings/node/src | ||
/bindings/node/bom.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,21 +25,21 @@ HTTPS_GIT := https://github.com/hyperledger/fabric-protos.git | |
SSH_GIT := ssh://[email protected]/hyperledger/fabric-protos.git | ||
|
||
# This controls the version of buf to install and use. | ||
BUF_VERSION := 1.32.2 | ||
BUF_VERSION := 1.42.0 | ||
# If true, Buf is installed from source instead of from releases | ||
BUF_INSTALL_FROM_SOURCE := false | ||
|
||
PROTOC_VERSION := 25.3 | ||
PROTOC_VERSION := 28.2 | ||
PROTOC_GEN_DOC_VERSION := 1.5.1 | ||
PROTOC_GEN_GO_VERSION := 1.33.0 | ||
PROTOC_GEN_GO_GRPC_VERSION := 1.3.0 | ||
PROTOC_GEN_GRPC_JAVA_VERSION := 1.63.0 | ||
PROTOC_GEN_JS_VERSION := 3.21.2 | ||
PROTOC_GEN_GO_VERSION := 1.34.2 | ||
PROTOC_GEN_GO_GRPC_VERSION := 1.5.1 | ||
PROTOC_GEN_GRPC_JAVA_VERSION := 1.68.0 | ||
PROTOC_GEN_JS_VERSION := 3.21.4 | ||
GRPC_TOOLS_VERSION := 1.12.4 | ||
TS_PROTOC_GEN_VERSION := 0.15.0 | ||
|
||
# This is the commit hash for the https://github.com/googleapis/googleapis repo | ||
GRPC_STATUS_VERSION := f36c65081b19e0758ef5696feca27c7dcee5475e | ||
GRPC_STATUS_VERSION := 3597f7db2191c00b100400991ef96e52d62f5841 | ||
GRPC_STATUS_PROTO := google/rpc/status.proto | ||
|
||
### Everything below this line is meant to be static, i.e. only adjust the above variables. ### | ||
|
@@ -281,14 +281,16 @@ scan-go: genprotos | |
cd bindings/go-apiv2 && govulncheck ./... | ||
|
||
.PHONY: scan-java | ||
scan-java: javabindings | ||
scan-java: | ||
go install github.com/google/osv-scanner/cmd/osv-scanner@latest | ||
cd bindings/java && mvn --activate-profiles sbom -DskipTests install | ||
osv-scanner --sbom=bindings/java/target/bom.json | ||
osv-scanner scan --lockfile=bindings/java/pom.xml | ||
|
||
.PHONY: scan-node | ||
scan-node: | ||
cd bindings/node && npm ci && npm audit --omit=dev | ||
go install github.com/google/osv-scanner/cmd/osv-scanner@latest | ||
cd bindings/node && \ | ||
npm sbom --omit dev --package-lock-only --sbom-format cyclonedx > bom.json && \ | ||
osv-scanner scan --sbom=bom.json | ||
|
||
# clean deletes any files not checked in and the cache for all platforms. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
module github.com/hyperledger/fabric-protos-go-apiv2 | ||
|
||
go 1.17 | ||
go 1.21.0 | ||
|
||
require ( | ||
google.golang.org/grpc v1.63.2 | ||
google.golang.org/protobuf v1.33.0 | ||
google.golang.org/grpc v1.67.0 | ||
google.golang.org/protobuf v1.34.2 | ||
) | ||
|
||
require ( | ||
golang.org/x/net v0.24.0 // indirect | ||
golang.org/x/sys v0.19.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect | ||
golang.org/x/net v0.28.0 // indirect | ||
golang.org/x/sys v0.24.0 // indirect | ||
golang.org/x/text v0.17.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect | ||
) |
Oops, something went wrong.