Skip to content

Commit 13ebf20

Browse files
committed
fix vulnerabilities and upgrade backend dependency packages
1 parent 398dbfa commit 13ebf20

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,20 @@ project(':dgrv4_Gateway_serv'){
179179

180180
// for tsmpdpaa
181181
implementation 'com.sun.mail:javax.mail:1.6.2'
182-
implementation 'org.springdoc:springdoc-openapi-ui:1.6.14'
182+
implementation ('org.springdoc:springdoc-openapi-ui:1.6.14'){
183+
exclude group: 'org.apache.commons', module: 'commons-lang3'
184+
}
183185
implementation 'org.yaml:snakeyaml:2.2'
184186

185187
implementation ('org.apache.poi:poi-ooxml:5.4.0'){
188+
exclude group: 'org.apache.commons', module: 'commons-lang3'
186189
// 'Avoid CVE-2024-26308'
187190
// exclude group: 'org.apache.commons', module: 'commons-compress'
188191
}
189192
// implementation 'org.apache.commons:commons-compress:1.27.0'
193+
194+
// Correct the above exclusions, group: 'org.apache.commons', module: 'commons-lang3'
195+
implementation 'org.apache.commons:commons-lang3:3.18.0'
190196

191197
// Kryo Serialization
192198
implementation 'com.esotericsoftware:kryo:5.4.0'
@@ -341,7 +347,7 @@ project(':dgrv4_Entity_lib'){
341347
// 引用其它 project
342348
dependencies{
343349
implementation project(':dgrv4_Common_lib')
344-
compileOnly 'org.apache.commons:commons-lang3:3.12.0'
350+
compileOnly 'org.apache.commons:commons-lang3:3.18.0'
345351

346352
// Kryo Serialization
347353
compileOnly 'com.esotericsoftware:kryo:5.4.0'

0 commit comments

Comments
 (0)