Skip to content

Commit f6b2daf

Browse files
authored
FINERACT-2421: Upgrade dependencies (#5244)
1 parent f94c0e7 commit f6b2daf

File tree

9 files changed

+48
-30
lines changed

9 files changed

+48
-30
lines changed

build.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ plugins {
102102
id 'com.github.hierynomus.license' version '0.16.1' apply false
103103
id 'com.github.jk1.dependency-license-report' version '2.9' apply false
104104
id 'org.zeroturnaround.gradle.jrebel' version '1.2.0' apply false
105-
id 'org.springframework.boot' version '3.5.5' apply false
105+
id 'org.springframework.boot' version '3.5.6' apply false
106106
id 'net.ltgt.errorprone' version '4.1.0' apply false
107107
id 'io.swagger.core.v3.swagger-gradle-plugin' version '2.2.23' apply false
108108
id 'com.gorylenko.gradle-git-properties' version '2.4.2' apply false
@@ -163,6 +163,15 @@ allprojects {
163163
mavenCentral()
164164
}
165165

166+
configurations.all {
167+
resolutionStrategy {
168+
dependencySubstitution {
169+
// Substitution is to resolve CVE-2025-12183
170+
substitute module('org.lz4:lz4-java') using module('at.yawk.lz4:lz4-java:1.10.1')
171+
}
172+
}
173+
}
174+
166175
configurations {
167176
implementation {
168177
exclude group: 'commons-logging', module: 'commons-logging'

buildSrc/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ repositories {
4141
mavenCentral()
4242
}
4343

44+
configurations.all {
45+
resolutionStrategy {
46+
dependencySubstitution {
47+
// Substitution is to resolve CVE-2025-12183
48+
substitute module('org.lz4:lz4-java') using module('at.yawk.lz4:lz4-java:1.10.1')
49+
}
50+
}
51+
}
52+
4453
dependencies {
4554
implementation 'com.sun.activation:jakarta.activation'
4655
implementation 'com.sun.mail:jakarta.mail'

buildSrc/src/main/groovy/org.apache.fineract.dependencies.gradle

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ dependencyManagement {
2525
mavenBom 'com.squareup.okhttp3:okhttp-bom:4.12.0'
2626
mavenBom 'org.slf4j:slf4j-bom:2.0.17'
2727
mavenBom 'io.micrometer:micrometer-bom:1.13.6'
28-
mavenBom 'org.springframework.boot:spring-boot-dependencies:3.5.5'
28+
mavenBom 'org.springframework.boot:spring-boot-dependencies:3.5.6'
2929
mavenBom 'io.awspring.cloud:spring-cloud-aws-dependencies:3.2.1'
3030
mavenBom 'io.opentelemetry:opentelemetry-bom:1.44.1'
3131
mavenBom 'org.jetbrains.kotlin:kotlin-bom:2.0.21'
3232
mavenBom 'org.junit:junit-bom:5.11.3'
33-
mavenBom 'com.fasterxml.jackson:jackson-bom:2.18.3'
33+
mavenBom 'com.fasterxml.jackson:jackson-bom:2.19.2'
3434
mavenBom 'io.cucumber:cucumber-bom:7.20.1'
3535
mavenBom 'org.mockito:mockito-bom:5.14.2'
3636
mavenBom 'software.amazon.awssdk:bom:2.29.9'
@@ -44,8 +44,8 @@ dependencyManagement {
4444
// We do not use :+ to get the latest available version available on Maven Central, as that could suddenly break things.
4545
// We use the Renovate Bot to automatically propose Pull Requests (PRs) when upgrades for all of these versions are available.
4646

47-
dependency 'ch.qos.logback:logback-core:1.5.17'
48-
dependency 'ch.qos.logback:logback-classic:1.5.17'
47+
dependency 'ch.qos.logback:logback-core:1.5.19'
48+
dependency 'ch.qos.logback:logback-classic:1.5.19'
4949
dependency 'ch.qos.logback.contrib:logback-json-classic:0.1.5'
5050
dependency 'ch.qos.logback.contrib:logback-jackson:0.1.5'
5151
dependency 'org.codehaus.janino:janino:3.1.12'
@@ -55,7 +55,7 @@ dependencyManagement {
5555
dependency 'com.google.code.gson:gson:2.11.0'
5656
dependency 'com.google.googlejavaformat:google-java-format:1.24.0'
5757
dependency 'org.apache.commons:commons-collections4:4.4'
58-
dependency 'org.apache.commons:commons-compress:1.26.0'
58+
dependency 'org.apache.commons:commons-compress:1.28.0'
5959
dependency ('software.amazon.msk:aws-msk-iam-auth:2.2.0') {
6060
exclude 'commons-logging:commons-logging:'
6161
}
@@ -74,17 +74,17 @@ dependencyManagement {
7474
dependency 'org.ehcache:ehcache:3.10.8'
7575
dependency 'com.github.spullara.mustache.java:compiler:0.9.14'
7676
dependency 'com.jayway.jsonpath:json-path:2.9.0'
77-
dependency ('org.apache.tika:tika-core:2.9.3') {
77+
dependency ('org.apache.tika:tika-core:3.2.3') {
7878
exclude 'commons-logging:commons-logging'
7979
}
80-
dependency ('org.apache.tika:tika-core:2.9.3') {
80+
dependency ('org.apache.tika:tika-core:3.2.3') {
8181
exclude 'commons-logging:commons-logging'
8282
}
83-
dependency ('org.apache.tika:tika-parser-miscoffice-module:2.9.3') {
83+
dependency ('org.apache.tika:tika-parser-miscoffice-module:3.2.3') {
8484
exclude 'org.bouncycastle:bcprov-jdk15on'
85-
exclude 'org.bouncycastle:bcmail-jdk15on'
85+
exclude 'org.bouncycastle:bcjmail-jdk15on'
8686
exclude 'org.bouncycastle:bcprov-jdk18on'
87-
exclude 'org.bouncycastle:bcmail-jdk18on'
87+
exclude 'org.bouncycastle:bcjmail-jdk18on'
8888
exclude 'commons-logging:commons-logging'
8989
exclude 'org.apache.logging.log4j:log4j-api'
9090
exclude 'org.slf4j:slf4j-api'
@@ -97,11 +97,11 @@ dependencyManagement {
9797
exclude 'org.apache.commons:commons-compress'
9898
exclude 'xml-apis:xml-apis'
9999
}
100-
dependency ('org.apache.tika:tika-parser-microsoft-module:2.9.3') {
100+
dependency ('org.apache.tika:tika-parser-microsoft-module:3.2.3') {
101101
exclude 'org.bouncycastle:bcprov-jdk15on'
102-
exclude 'org.bouncycastle:bcmail-jdk15on'
102+
exclude 'org.bouncycastle:bcjmail-jdk15on'
103103
exclude 'org.bouncycastle:bcprov-jdk18on'
104-
exclude 'org.bouncycastle:bcmail-jdk18on'
104+
exclude 'org.bouncycastle:bcjmail-jdk18on'
105105
exclude 'commons-logging:commons-logging'
106106
exclude 'org.apache.logging.log4j:log4j-api'
107107
exclude 'org.slf4j:slf4j-api'
@@ -152,10 +152,10 @@ dependencyManagement {
152152
dependency "commons-codec:commons-codec:1.17.1"
153153
dependency "org.projectlombok:lombok:1.18.36"
154154

155-
dependency 'org.bouncycastle:bcpkix-jdk18on:1.80'
156-
dependency 'org.bouncycastle:bcprov-jdk18on:1.80'
157-
dependency 'org.bouncycastle:bcutil-jdk18on:1.80'
158-
dependency 'org.bouncycastle:bcpg-jdk18on:1.80'
155+
dependency 'org.bouncycastle:bcpkix-jdk18on:1.81'
156+
dependency 'org.bouncycastle:bcprov-jdk18on:1.81'
157+
dependency 'org.bouncycastle:bcutil-jdk18on:1.81'
158+
dependency 'org.bouncycastle:bcpg-jdk18on:1.81'
159159

160160
dependency 'org.eclipse.jgit:org.eclipse.jgit:7.2.0.202503040940-r'
161161
dependency 'org.eclipse.jgit:org.eclipse.jgit.gpg.bc:7.2.0.202503040940-r'
@@ -185,7 +185,7 @@ dependencyManagement {
185185

186186
dependency 'jakarta.annotation:jakarta.annotation-api:3.0.0'
187187
dependency 'jakarta.activation:jakarta.activation-api:2.1.3'
188-
dependency ('com.sun.mail:jakarta.mail:2.0.1') {
188+
dependency ('com.sun.mail:jakarta.mail:2.0.2') {
189189
// Spring needs this version
190190
exclude 'com.sun.activation:jakarta.activation'
191191
}
@@ -273,9 +273,11 @@ dependencyManagement {
273273
dependency 'org.springframework:spring-core:6.2.11'
274274
// Force Spring Framework version: CVE-2025-41248
275275
dependency 'org.springframework.security:spring-security-core:6.5.4'
276-
// Force netty-codec version: CVE-2025-58057
277-
dependency 'io.netty:netty-codec:4.1.125.Final'
276+
// Force netty-codec version: CVE-2025-67735
277+
dependency 'io.netty:netty-codec:4.1.129.Final'
278278
// Force netty-codec version: CVE-2025-58056
279279
dependency 'io.netty:netty-codec-http:4.1.125.Final'
280+
// Force lz4-java version: CVE-2025-12183
281+
dependency 'at.yawk.lz4:lz4-java:1.10.1'
280282
}
281283
}

fineract-client-feign/dependencies.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ dependencies {
3333
'jakarta.annotation:jakarta.annotation-api:3.0.0',
3434
'io.swagger.core.v3:swagger-annotations-jakarta:2.2.15',
3535
'org.apache.commons:commons-lang3:3.12.0',
36-
'org.slf4j:slf4j-api:1.7.36',
3736
'org.projectlombok:lombok'
3837
)
3938

@@ -43,7 +42,6 @@ dependencies {
4342
'org.junit.jupiter:junit-jupiter-engine:5.11.3',
4443
'org.mockito:mockito-core:5.14.2',
4544
'org.assertj:assertj-core:3.26.3',
46-
'org.slf4j:slf4j-simple:1.7.36',
4745
'org.wiremock:wiremock-standalone'
4846
)
4947
}

fineract-e2e-tests-core/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ dependencies {
9090
testCompileOnly 'org.projectlombok:lombok:1.18.36'
9191
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
9292

93-
testImplementation "ch.qos.logback:logback-core:1.5.17"
94-
testImplementation "ch.qos.logback:logback-classic:1.5.17"
93+
testImplementation "ch.qos.logback:logback-core:1.5.19"
94+
testImplementation "ch.qos.logback:logback-classic:1.5.19"
9595

9696
testImplementation 'org.apache.activemq:activemq-client:6.1.6'
9797
testImplementation "org.apache.avro:avro:1.12.0"

fineract-e2e-tests-runner/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ dependencies {
6161
testCompileOnly 'org.projectlombok:lombok:1.18.36'
6262
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
6363

64-
testImplementation "ch.qos.logback:logback-core:1.5.17"
65-
testImplementation "ch.qos.logback:logback-classic:1.5.17"
64+
testImplementation "ch.qos.logback:logback-core:1.5.19"
65+
testImplementation "ch.qos.logback:logback-classic:1.5.19"
6666

6767
testImplementation 'org.apache.activemq:activemq-client:6.1.6'
6868
testImplementation "org.apache.avro:avro:1.12.0"

integration-tests/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020
// testCompile dependencies are ONLY used in src/test, not src/main.
2121
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
2222
//
23-
tomcat 'org.apache.tomcat:tomcat:10.1.42@zip'
23+
tomcat 'org.apache.tomcat:tomcat:10.1.45@zip'
2424
def providerMainOutput = project(':fineract-provider').extensions.getByType(SourceSetContainer).named('main').get().output
2525
testImplementation( providerMainOutput,
2626
project(path: ':fineract-core', configuration: 'runtimeElements'),

oauth2-tests/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020
// testCompile dependencies are ONLY used in src/test, not src/main.
2121
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
2222
//
23-
tomcat 'org.apache.tomcat:tomcat:10.1.42@zip'
23+
tomcat 'org.apache.tomcat:tomcat:10.1.45@zip'
2424
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
2525
project(path: ':fineract-provider', configuration: 'runtimeElements'),
2626
'org.junit.jupiter:junit-jupiter-api',

twofactor-tests/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020
// testCompile dependencies are ONLY used in src/test, not src/main.
2121
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
2222
//
23-
tomcat 'org.apache.tomcat:tomcat:10.1.42@zip'
23+
tomcat 'org.apache.tomcat:tomcat:10.1.45@zip'
2424
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
2525
project(path: ':fineract-provider', configuration: 'runtimeElements'),
2626
'org.junit.jupiter:junit-jupiter-api',

0 commit comments

Comments
 (0)