-
Notifications
You must be signed in to change notification settings - Fork 206
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 security vulnerabilities (#314)
- CVE-2022-25647 - CVE-2023-2976 - CVE-2020-8908 Also: - Update Gradle wrapper version to resolve Gradle bug in handling certain dependency JAR files. - Update Gradle shadowJar plugin to v7.1.2 (except for bare-gradle contract, since builder uses Gradle v5 if no wrapper is provided). - Add mergeServiceFiles() to test chaincode shadowJar Gradle tasks to resolve an issue with incorrect class versions being loaded from dependencies. - Add ServicesResourceTransformer to test chaincode maven-shade-plugin Maven plugin configuration to resolve an issue with incorrect class versions being loaded from dependencies. - Tidy-up integration test contract dependencies. Signed-off-by: Mark S. Lewis <[email protected]>
- Loading branch information
1 parent
3b5b2cb
commit 1148b9d
Showing
43 changed files
with
650 additions
and
474 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd"> | ||
<suppress> | ||
<notes><![CDATA[ | ||
Core Fabric Go implementation vulnerability, not fabric-protos. | ||
]]></notes> | ||
<packageUrl regex="true">^pkg:maven/org\.hyperledger\.fabric/fabric\-protos@.*$</packageUrl> | ||
<cve>CVE-2022-31121</cve> | ||
</suppress> | ||
<suppress> | ||
<notes><![CDATA[ | ||
Core Fabric Go implementation vulnerability, not fabric-protos. | ||
]]></notes> | ||
<packageUrl regex="true">^pkg:maven/org\.hyperledger\.fabric/fabric\-protos@.*$</packageUrl> | ||
<cve>CVE-2022-36023</cve> | ||
</suppress> | ||
<suppress> | ||
<notes><![CDATA[ | ||
Vulnerability in C++ gRPC implementation. | ||
]]></notes> | ||
<packageUrl regex="true">^pkg:maven/io\.opentelemetry\.instrumentation/opentelemetry\-grpc\-1\.6@.*$</packageUrl> | ||
<cve>CVE-2023-33953</cve> | ||
</suppress> | ||
<suppress> | ||
<notes><![CDATA[ | ||
Vulnerability in C++ gRPC implementation. | ||
]]></notes> | ||
<packageUrl regex="true">^pkg:maven/io\.opentelemetry\.instrumentation/opentelemetry\-grpc\-1\.6@.*$</packageUrl> | ||
<cve>CVE-2023-32732</cve> | ||
</suppress> | ||
<suppress> | ||
<notes><![CDATA[ | ||
Vulnerability in hutool-json, which is not used. | ||
]]></notes> | ||
<packageUrl regex="true">^pkg:maven/org\.json/json@.*$</packageUrl> | ||
<cve>CVE-2022-45688</cve> | ||
</suppress> | ||
</suppressions> |
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
Binary file modified
BIN
+5.87 KB
(110%)
examples/fabric-contract-example-gradle-kotlin/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion
3
examples/fabric-contract-example-gradle-kotlin/gradle/wrapper/gradle-wrapper.properties
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,5 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.