From 43d1b1aaec809111d8027db29b5a531464adbda3 Mon Sep 17 00:00:00 2001 From: Sicheng Song Date: Thu, 22 Jun 2023 16:49:58 -0700 Subject: [PATCH] Manual CVE backport (#1008) * Manual CVE backport Signed-off-by: Sicheng Song * Fix checkstyle version Signed-off-by: Sicheng Song --------- Signed-off-by: Sicheng Song --- ml-algorithms/build.gradle | 2 +- plugin/build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ml-algorithms/build.gradle b/ml-algorithms/build.gradle index e7dc1fcb68..6038e9fdd1 100644 --- a/ml-algorithms/build.gradle +++ b/ml-algorithms/build.gradle @@ -36,7 +36,7 @@ dependencies { testImplementation group: 'junit', name: 'junit', version: '4.13.2' testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.4.0' testImplementation group: 'org.mockito', name: 'mockito-inline', version: '4.4.0' - implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre' + implementation group: 'com.google.guava', name: 'guava', version: '32.0.1-jre' implementation group: 'com.google.code.gson', name: 'gson', version: '2.9.1' implementation platform("ai.djl:bom:0.19.0") implementation group: 'ai.djl.pytorch', name: 'pytorch-model-zoo' diff --git a/plugin/build.gradle b/plugin/build.gradle index 6849bb32e0..183cbcc8e3 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -32,7 +32,7 @@ ext { } checkstyle { - toolVersion = '8.38' + toolVersion = '10.12.0' } opensearchplugin { @@ -50,7 +50,7 @@ dependencies { implementation "org.opensearch:common-utils:${common_utils_version}" implementation("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}") implementation("com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}") - implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre' + implementation group: 'com.google.guava', name: 'guava', version: '32.0.1-jre' implementation group: 'com.google.code.gson', name: 'gson', version: '2.9.1' implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10' implementation group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'