Skip to content

Commit 26acd64

Browse files
authored
Move to org.json:json 20231013. (#316)
As per #312, and also per https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5072, the newest version of org.json:json should be used. Signed-off-by: Ben Smith <[email protected]>
1 parent 341561a commit 26acd64

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

examples/fabric-contract-example-as-service/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121

2222
dependencies {
2323
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '2.3.+'
24-
compile 'org.json:json:20230618'
24+
compile 'org.json:json:20231013'
2525
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.2'
2626
testImplementation 'org.assertj:assertj-core:3.11.1'
2727
testImplementation 'org.mockito:mockito-core:2.+'

examples/fabric-contract-example-gradle-kotlin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ java {
2020

2121
dependencies {
2222
implementation("org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:2.5.0")
23-
implementation("org.json:json:20230618")
23+
implementation("org.json:json:20231013")
2424
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
2525

2626
testImplementation("org.junit.jupiter:junit-jupiter:5.4.2")

examples/fabric-contract-example-gradle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121

2222
dependencies {
2323
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '2.5.0'
24-
compile 'org.json:json:20230618'
24+
compile 'org.json:json:20231013'
2525
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.2'
2626
testImplementation 'org.assertj:assertj-core:3.11.1'
2727
testImplementation 'org.mockito:mockito-core:2.+'

examples/fabric-contract-example-maven/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<dependency>
100100
<groupId>org.json</groupId>
101101
<artifactId>json</artifactId>
102-
<version>20230618</version>
102+
<version>20231013</version>
103103
</dependency>
104104

105105
</dependencies>

examples/ledger-api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121

2222
dependencies {
2323
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.5'
24-
compile 'org.json:json:20230618'
24+
compile 'org.json:json:20231013'
2525
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.2'
2626
testImplementation 'org.assertj:assertj-core:3.11.1'
2727
testImplementation 'org.mockito:mockito-core:2.+'

fabric-chaincode-integration-test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies {
22
implementation project(':fabric-chaincode-docker')
33
implementation project(':fabric-chaincode-shim')
4-
implementation 'org.json:json:20230618'
4+
implementation 'org.json:json:20231013'
55
}
66

77

fabric-chaincode-shim/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies {
5151
implementation 'org.bouncycastle:bcprov-jdk18on:1.76'
5252
implementation 'io.github.classgraph:classgraph:4.8.162'
5353
implementation 'com.github.everit-org.json-schema:org.everit.json.schema:1.14.2'
54-
implementation 'org.json:json:20230618'
54+
implementation 'org.json:json:20231013'
5555
implementation 'com.google.protobuf:protobuf-java-util:3.22.5'
5656

5757
// Required if using Java 11+ as no longer bundled in the core libraries

0 commit comments

Comments
 (0)