@@ -302,15 +302,15 @@ subprojects {
302
302
}
303
303
304
304
if (requested.group == " org.apache.avro" && requested.name == " avro" ) {
305
- if (requested.version!! < Versions . AVRO ) {
305
+ if (requested.version!! < " 2.0 " ) {
306
306
useVersion(Versions .AVRO )
307
307
because(" latest avro does not depend on vulnerable jackson-mapper-asl which has not been updated since 2013" )
308
308
}
309
309
}
310
310
311
311
if (requested.group == " org.apache.logging.log4j" && requested.name == " log4j-api" ) {
312
- if (requested.version!! < " 2.11.2 " ) {
313
- useVersion(" 2.13.3 " )
312
+ if (requested.version!! < " 2.13 " ) {
313
+ useVersion(" 2.17.2 " )
314
314
because(" fixes vulnerability in 2.11.1 and before" )
315
315
}
316
316
}
@@ -343,6 +343,13 @@ subprojects {
343
343
}
344
344
}
345
345
346
+ if (requested.group == " org.apache.commons" && requested.name == " commons-compress" ) {
347
+ if (requested.version!! < " 2.0" ) {
348
+ useVersion(" 1.21" )
349
+ because(" fixes CVE-2021-36090, CVE-2021-35516, CVE-2021-35515, CVE-2021-35517: Crafty ZIPs" )
350
+ }
351
+ }
352
+
346
353
if (requested.group == " org.jasig.cas.client" && requested.name == " cas-client-core" ) {
347
354
if (requested.version!! <= " 3.5.0" ) {
348
355
useVersion(" 3.6.0" )
@@ -381,8 +388,18 @@ subprojects {
381
388
" for this commit to take effect: " +
382
389
" https://github.com/reactor/reactor-netty/commit/857277287671d5b40708064b3afef1a7ae7b7a47" )
383
390
}
391
+ if (requested.group.startsWith(" junit" ) &&
392
+ requested.name == " junit" &&
393
+ requested.version!! < " 4.2" ) {
394
+ useVersion(" 4.13.2" )
395
+ because(" Fixes CVE-2020-15250: Local information for the test rule TemporaryFolder." )
396
+ }
384
397
}
385
398
}
386
399
387
400
}
388
401
}
402
+
403
+ subprojects {
404
+ tasks.register<DependencyReportTask >(" allDeps" ) {}
405
+ }
0 commit comments