Skip to content

Commit ce32280

Browse files
authored
Bump json and wiremock version to fix CVEs (#2533)
* bump wiremock and jetty-server version Signed-off-by: Sean Kao <[email protected]> * bump json version Signed-off-by: Sean Kao <[email protected]> --------- Signed-off-by: Sean Kao <[email protected]>
1 parent 18950f5 commit ce32280

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

legacy/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ dependencies {
8989
}
9090
}
9191
implementation group: 'com.google.guava', name: 'guava', version: '32.0.1-jre'
92-
compile group: 'org.json', name: 'json', version:'20230227'
92+
compile group: 'org.json', name: 'json', version:'20231013'
9393
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
9494
compile group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
9595
compile project(':sql')

opensearch/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies {
3535
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${versions.jackson}"
3636
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${versions.jackson_databind}"
3737
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: "${versions.jackson}"
38-
compile group: 'org.json', name: 'json', version:'20230227'
38+
compile group: 'org.json', name: 'json', version:'20231013'
3939
compileOnly group: 'org.opensearch.client', name: 'opensearch-rest-high-level-client', version: "${opensearch_version}"
4040
compile group: 'org.opensearch', name:'opensearch-ml-client', version: '1.3.4.0-SNAPSHOT'
4141

ppl/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dependencies {
4747
compile "org.antlr:antlr4-runtime:4.7.1"
4848
compile group: 'com.google.guava', name: 'guava', version: '32.0.1-jre'
4949
compile group: 'org.opensearch', name: 'opensearch-x-content', version: "${opensearch_version}"
50-
compile group: 'org.json', name: 'json', version: '20230227'
50+
compile group: 'org.json', name: 'json', version: '20231013'
5151
compile group: 'org.springframework', name: 'spring-context', version: "${spring_version}"
5252
compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}"
5353
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.1'

sql-jdbc/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ dependencies {
5151

5252
testImplementation('org.junit.jupiter:junit-jupiter-api:5.3.1')
5353
testImplementation('org.junit.jupiter:junit-jupiter-params:5.3.1')
54-
testImplementation('com.github.tomakehurst:wiremock:3.0.0-beta-7')
54+
testImplementation('org.wiremock:wiremock:3.4.0')
5555
testImplementation('org.mockito:mockito-core:2.23.0')
5656
testImplementation('org.junit.jupiter:junit-jupiter-engine:5.3.1')
5757
testImplementation('org.junit-pioneer:junit-pioneer:0.3.0')
58-
testImplementation('org.eclipse.jetty:jetty-server:11.0.14')
58+
testImplementation('org.eclipse.jetty:jetty-server:11.0.20')
5959

6060
// Enforce wiremock to use latest guava
6161
testImplementation('com.google.guava:guava:32.0.1-jre')

sql/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dependencies {
4646

4747
compile "org.antlr:antlr4-runtime:4.7.1"
4848
implementation group: 'com.google.guava', name: 'guava', version: '32.0.1-jre'
49-
compile group: 'org.json', name: 'json', version:'20230227'
49+
compile group: 'org.json', name: 'json', version:'20231013'
5050
compile group: 'org.springframework', name: 'spring-context', version: "${spring_version}"
5151
compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}"
5252
compile project(':common')

0 commit comments

Comments
 (0)