mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-05-04 01:33:19 +00:00
issue_863: removed some critical vulnerable dependencies
This commit is contained in:
parent
8008c4df74
commit
bc25d6a149
@ -33,9 +33,16 @@ dependencies {
|
|||||||
implementation libs.log4j.api
|
implementation libs.log4j.api
|
||||||
implementation libs.log4j.core
|
implementation libs.log4j.core
|
||||||
implementation libs.minimal.json
|
implementation libs.minimal.json
|
||||||
implementation libs.pci
|
|
||||||
|
// pull the pci dependency and ...
|
||||||
|
implementation(libs.pci) {
|
||||||
|
// replace the default apache http client transitive dependency
|
||||||
|
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
|
||||||
|
}
|
||||||
|
// with the non-vulnerable version of the apache http client dependency
|
||||||
|
implementation libs.apacheHttpClient
|
||||||
|
|
||||||
implementation libs.protobuf.java
|
implementation libs.protobuf.java
|
||||||
implementation libs.spring.data.jpa.datatables
|
|
||||||
implementation libs.spring.boot.starter.data.jpa
|
implementation libs.spring.boot.starter.data.jpa
|
||||||
implementation libs.spring.retry
|
implementation libs.spring.retry
|
||||||
implementation libs.spring.boot.starter.web
|
implementation libs.spring.boot.starter.web
|
||||||
|
@ -49,7 +49,15 @@ dependencies {
|
|||||||
implementation libs.jakarta.xml
|
implementation libs.jakarta.xml
|
||||||
implementation libs.log4j.spring.boot
|
implementation libs.log4j.spring.boot
|
||||||
implementation libs.mariadb.java.client
|
implementation libs.mariadb.java.client
|
||||||
implementation libs.pci
|
|
||||||
|
// pull the pci dependency and ...
|
||||||
|
implementation(libs.pci) {
|
||||||
|
// replace the default apache http client transitive dependency
|
||||||
|
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
|
||||||
|
}
|
||||||
|
// with the non-vulnerable version of the apache http client dependency
|
||||||
|
implementation libs.apacheHttpClient
|
||||||
|
|
||||||
implementation libs.spring.boot.starter.web
|
implementation libs.spring.boot.starter.web
|
||||||
implementation libs.spring.boot.starter.validation
|
implementation libs.spring.boot.starter.validation
|
||||||
implementation libs.spring.boot.starter.data.jpa
|
implementation libs.spring.boot.starter.data.jpa
|
||||||
|
@ -29,7 +29,15 @@ dependencies {
|
|||||||
implementation libs.log4j.core
|
implementation libs.log4j.core
|
||||||
implementation libs.log4j.api
|
implementation libs.log4j.api
|
||||||
implementation libs.minimal.json
|
implementation libs.minimal.json
|
||||||
implementation libs.pci
|
|
||||||
|
// pull the pci dependency and ...
|
||||||
|
implementation(libs.pci) {
|
||||||
|
// replace the default apache http client transitive dependency
|
||||||
|
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
|
||||||
|
}
|
||||||
|
// with the non-vulnerable version of the apache http client dependency
|
||||||
|
implementation libs.apacheHttpClient
|
||||||
|
|
||||||
implementation libs.slf4j.simple
|
implementation libs.slf4j.simple
|
||||||
|
|
||||||
compileOnly libs.lombok
|
compileOnly libs.lombok
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
[versions]
|
[versions]
|
||||||
|
apacheHttpClientVersion = "4.5.14"
|
||||||
bouncyCastleVersion = "1.79"
|
bouncyCastleVersion = "1.79"
|
||||||
commonsCodecVersion = "1.17.1"
|
commonsCodecVersion = "1.17.1"
|
||||||
commonsFileUploadVersion = "1.5"
|
commonsFileUploadVersion = "1.5"
|
||||||
@ -22,7 +23,6 @@ ospackageVersion = "11.2.0"
|
|||||||
pciVersion = "0.3"
|
pciVersion = "0.3"
|
||||||
protobufJavaVersion = "4.28.3"
|
protobufJavaVersion = "4.28.3"
|
||||||
springBootVersion = "3.0.1"
|
springBootVersion = "3.0.1"
|
||||||
springDataJpaDatatablesVersion = "6.0.1"
|
|
||||||
springRetryVersion = "2.0.0"
|
springRetryVersion = "2.0.0"
|
||||||
testngVersion = "7.10.2"
|
testngVersion = "7.10.2"
|
||||||
tomcatVersion = "10.1.33"
|
tomcatVersion = "10.1.33"
|
||||||
@ -38,6 +38,7 @@ springTestVersion = "6.0.8"
|
|||||||
spotBugAnnotationVersion = "4.8.6"
|
spotBugAnnotationVersion = "4.8.6"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
apacheHttpClient = { module = "org.apache.httpcomponents:httpclient", version.ref = "apacheHttpClientVersion" }
|
||||||
bouncycastle = { module = "org.bouncycastle:bcmail-jdk15to18", version.ref = "bouncyCastleVersion" }
|
bouncycastle = { module = "org.bouncycastle:bcmail-jdk15to18", version.ref = "bouncyCastleVersion" }
|
||||||
commons-codec = { module = "commons-codec:commons-codec", version.ref = "commonsCodecVersion" }
|
commons-codec = { module = "commons-codec:commons-codec", version.ref = "commonsCodecVersion" }
|
||||||
commons-fileupload = { module = "commons-fileupload:commons-fileupload", version.ref = "commonsFileUploadVersion" }
|
commons-fileupload = { module = "commons-fileupload:commons-fileupload", version.ref = "commonsFileUploadVersion" }
|
||||||
@ -69,7 +70,6 @@ spring-boot-starter-log4j2 = { module = "org.springframework.boot:spring-boot-st
|
|||||||
spring-boot-starter-tomcat = { module = "org.springframework.boot:spring-boot-starter-tomcat", version.ref = "springBootVersion" }
|
spring-boot-starter-tomcat = { module = "org.springframework.boot:spring-boot-starter-tomcat", version.ref = "springBootVersion" }
|
||||||
spring-boot-starter-validation = { module = "org.springframework.boot:spring-boot-starter-validation", version.ref = "springBootVersion" }
|
spring-boot-starter-validation = { module = "org.springframework.boot:spring-boot-starter-validation", version.ref = "springBootVersion" }
|
||||||
spring-boot-starter-web = { module = "org.springframework.boot:spring-boot-starter-web", version.ref = "springBootVersion" }
|
spring-boot-starter-web = { module = "org.springframework.boot:spring-boot-starter-web", version.ref = "springBootVersion" }
|
||||||
spring-data-jpa-datatables = { module = "com.github.darrachequesne:spring-data-jpa-datatables", version.ref = "springDataJpaDatatablesVersion" }
|
|
||||||
spring-retry = { module = "org.springframework.retry:spring-retry", version.ref = "springRetryVersion" }
|
spring-retry = { module = "org.springframework.retry:spring-retry", version.ref = "springRetryVersion" }
|
||||||
tomcat-embed-jasper = { module = "org.apache.tomcat.embed:tomcat-embed-jasper", version.ref = "tomcatVersion" }
|
tomcat-embed-jasper = { module = "org.apache.tomcat.embed:tomcat-embed-jasper", version.ref = "tomcatVersion" }
|
||||||
testng = { module = "org.testng:testng", version.ref = "testngVersion" }
|
testng = { module = "org.testng:testng", version.ref = "testngVersion" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user