Skip to content

Commit

Permalink
Address CVE-2022-42889 by updating commons-text (#487) (#493)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Oct 24, 2022
1 parent 0330993 commit bbdf545
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ml-algorithms/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ repositories {
dependencies {
compileOnly group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
implementation project(':opensearch-ml-common')
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.10.0'
implementation group: 'org.reflections', name: 'reflections', version: '0.9.12'
implementation group: 'org.tribuo', name: 'tribuo-clustering-kmeans', version: '4.2.1'
implementation group: 'org.tribuo', name: 'tribuo-regression-sgd', version: '4.2.1'
Expand Down
2 changes: 2 additions & 0 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ dependencies {
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
implementation group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
implementation "org.apache.logging.log4j:log4j-slf4j-impl:2.19.0"
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.10.0'

checkstyle "com.puppycrawl.tools:checkstyle:${project.checkstyle.toolVersion}"
}
Expand Down Expand Up @@ -278,6 +279,7 @@ configurations.all {
resolutionStrategy.force 'commons-logging:commons-logging:1.2'
resolutionStrategy.force 'org.objenesis:objenesis:3.2'
resolutionStrategy.force 'net.java.dev.jna:jna:5.11.0'
resolutionStrategy.force 'org.apache.commons:commons-text:1.10.0'
}

apply plugin: 'nebula.ospackage'
Expand Down

0 comments on commit bbdf545

Please sign in to comment.