Skip to content

Commit

Permalink
exclude <v32 version of google guava dependency from google java form…
Browse files Browse the repository at this point in the history
…at and add google guava 32.0.1 to resolve CVE CVE-2023-2976 (opensearch-project#1094)

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
  • Loading branch information
eirsep authored Aug 17, 2023
1 parent 6e7a16b commit 778e7ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ dependencies {
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}"
implementation "com.cronutils:cron-utils:9.1.6"
api "org.opensearch.client:opensearch-rest-client:${opensearch_version}"
implementation 'com.google.googlejavaformat:google-java-format:1.10.0'
implementation('com.google.googlejavaformat:google-java-format:1.10.0') {
exclude group: 'com.google.guava'
}
implementation 'com.google.guava:guava:32.0.1-jre'
api "org.opensearch:common-utils:${common_utils_version}@jar"
implementation 'commons-validator:commons-validator:1.7'

Expand Down

0 comments on commit 778e7ce

Please sign in to comment.