Skip to content

Commit 4b4b409

Browse files
pyek-botdhrubo-os
andauthored
CVE fix: beanutils (opensearch-project#4062)
* fix: cve Signed-off-by: Pavan Yekbote <[email protected]> * force beanutils version Signed-off-by: Pavan Yekbote <[email protected]> * Trigger Build Signed-off-by: Pavan Yekbote <[email protected]> * Trigger Build Signed-off-by: Pavan Yekbote <[email protected]> --------- Signed-off-by: Pavan Yekbote <[email protected]> Co-authored-by: Dhrubo Saha <[email protected]>
1 parent 883e95d commit 4b4b409

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

ml-algorithms/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ dependencies {
5454
}
5555
// Multi-tenant SDK Client
5656
implementation "org.opensearch:opensearch-remote-metadata-sdk:${opensearch_build}"
57+
implementation 'commons-beanutils:commons-beanutils:1.11.0'
5758

5859
def os = DefaultNativePlatform.currentOperatingSystem
5960
//arm/macos doesn't support GPU

plugin/build.gradle

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ configurations.all {
434434
resolutionStrategy.force "org.opensearch:opensearch:${opensearch_version}"
435435
resolutionStrategy.force "org.bouncycastle:bcprov-jdk18on:1.78.1"
436436
resolutionStrategy.force 'io.projectreactor:reactor-core:3.7.0'
437+
resolutionStrategy.force 'commons-beanutils:commons-beanutils:1.11.0'
437438
}
438439

439440
apply plugin: 'com.netflix.nebula.ospackage'
@@ -663,12 +664,3 @@ forbiddenPatterns {
663664
exclude '**/*.pdf'
664665
exclude '**/*.jpg'
665666
}
666-
667-
configurations {
668-
runtimeClasspath {
669-
resolutionStrategy {
670-
// CVE-48734: tribuo-clustering-kmeans:'4.2.1 causes a transitive dependency on beanutils:1.94
671-
force 'commons-beanutils:commons-beanutils:1.11.0'
672-
}
673-
}
674-
}

0 commit comments

Comments
 (0)