Skip to content

Commit ff872ab

Browse files
opensearch-trigger-bot[bot]github-actions[bot]Kishore Kumaar Natarajan
authored
* CVE-2025-27820 * CVE fix --------- (cherry picked from commit 7f4dbaf) Signed-off-by: Kishore Kumaar Natarajan <kkumaarn@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Kishore Kumaar Natarajan <kkumaarn@amazon.com>
1 parent d42d354 commit ff872ab

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

build.gradle

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import java.nio.file.Paths
66
import java.util.concurrent.Callable
77
import java.util.stream.Collectors
88

9+
910
buildscript {
1011
ext {
1112
opensearch_version = System.getProperty("opensearch.version", "3.1.0-SNAPSHOT")
@@ -28,14 +29,24 @@ buildscript {
2829
mavenCentral()
2930
maven { url "https://plugins.gradle.org/m2/" }
3031
}
32+
configurations.all {
33+
resolutionStrategy {
34+
force 'org.apache.httpcomponents.client5:httpclient5:5.4.3'
35+
}
36+
}
37+
3138
configurations.all {
3239
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
33-
if (details.requested.group == 'org.apache.httpcomponents.client5' && details.requested.name == 'httpclient5') {
34-
details.useVersion '5.4.3'
40+
if (details.requested.group == 'commons-beanutils') {
41+
details.useVersion '1.11.0'
42+
}
43+
if (details.requested.group == 'org.apache.commons' && details.requested.name == 'commons-beanutils2') {
44+
details.useVersion '2.0.0-M2'
3545
}
3646
}
3747
}
3848

49+
3950
dependencies {
4051
classpath "org.opensearch.gradle:build-tools:${opensearch_version}"
4152
}

0 commit comments

Comments
 (0)