Skip to content

Commit

Permalink
Bump json and wiremock version to fix CVEs (#2533)
Browse files Browse the repository at this point in the history
* bump wiremock and jetty-server version

Signed-off-by: Sean Kao <seankao@amazon.com>

* bump json version

Signed-off-by: Sean Kao <seankao@amazon.com>

---------

Signed-off-by: Sean Kao <seankao@amazon.com>
  • Loading branch information
seankao-az committed Mar 4, 2024
1 parent 18950f5 commit ce32280
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion legacy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ dependencies {
}
}
implementation group: 'com.google.guava', name: 'guava', version: '32.0.1-jre'
compile group: 'org.json', name: 'json', version:'20230227'
compile group: 'org.json', name: 'json', version:'20231013'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
compile group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
compile project(':sql')
Expand Down
2 changes: 1 addition & 1 deletion opensearch/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies {
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${versions.jackson}"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${versions.jackson_databind}"
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: "${versions.jackson}"
compile group: 'org.json', name: 'json', version:'20230227'
compile group: 'org.json', name: 'json', version:'20231013'
compileOnly group: 'org.opensearch.client', name: 'opensearch-rest-high-level-client', version: "${opensearch_version}"
compile group: 'org.opensearch', name:'opensearch-ml-client', version: '1.3.4.0-SNAPSHOT'

Expand Down
2 changes: 1 addition & 1 deletion ppl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies {
compile "org.antlr:antlr4-runtime:4.7.1"
compile group: 'com.google.guava', name: 'guava', version: '32.0.1-jre'
compile group: 'org.opensearch', name: 'opensearch-x-content', version: "${opensearch_version}"
compile group: 'org.json', name: 'json', version: '20230227'
compile group: 'org.json', name: 'json', version: '20231013'
compile group: 'org.springframework', name: 'spring-context', version: "${spring_version}"
compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}"
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.1'
Expand Down
4 changes: 2 additions & 2 deletions sql-jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ dependencies {

testImplementation('org.junit.jupiter:junit-jupiter-api:5.3.1')
testImplementation('org.junit.jupiter:junit-jupiter-params:5.3.1')
testImplementation('com.github.tomakehurst:wiremock:3.0.0-beta-7')
testImplementation('org.wiremock:wiremock:3.4.0')
testImplementation('org.mockito:mockito-core:2.23.0')
testImplementation('org.junit.jupiter:junit-jupiter-engine:5.3.1')
testImplementation('org.junit-pioneer:junit-pioneer:0.3.0')
testImplementation('org.eclipse.jetty:jetty-server:11.0.14')
testImplementation('org.eclipse.jetty:jetty-server:11.0.20')

// Enforce wiremock to use latest guava
testImplementation('com.google.guava:guava:32.0.1-jre')
Expand Down
2 changes: 1 addition & 1 deletion sql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies {

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

0 comments on commit ce32280

Please sign in to comment.