Skip to content

Commit 5bb98e2

Browse files
CCD-5196 Changes made to resolve CVE (#147)
* Changes made to resolve CVE * Resolved Spring Boot CVE --------- Co-authored-by: shahir-ali <[email protected]>
1 parent 2a812a6 commit 5bb98e2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

build.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ configurations {
6161
smokeTestRuntimeOnly.extendsFrom runtimeOnly
6262
}
6363

64+
//configurations.all {
65+
// resolutionStrategy.dependencySubstitution {
66+
// substitute module("ch.qos.logback:logback-classic:1.2.12") with project('ch.qos.logback:logback-classic:1.3.14')
67+
// substitute module("ch.qos.logback:logback-core:1.2.12") with project('ch.qos.logback:logback-core:1.3.14')
68+
// }
69+
//}
70+
6471
tasks.withType(JavaCompile) {
6572
options.compilerArgs << "-Xlint:unchecked" << "-Werror"
6673
}
@@ -181,6 +188,7 @@ dependencies {
181188

182189
implementation("org.springframework.cloud:spring-cloud-starter-bootstrap")
183190
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-actuator'
191+
184192
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-aop'
185193
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-json'
186194
implementation group: 'org.springframework', name: 'spring-context-support'
@@ -266,8 +274,9 @@ wrapper {
266274

267275
configurations.all {
268276
exclude group: 'org.bouncycastle', module: 'bcprov-jdk15on'
269-
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-security'
277+
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
270278
exclude group: 'org.springframework.security', module: 'spring-security-rsa'
279+
exclude group: 'ch.qos.logback', module: 'logback-classic'
271280
}
272281

273282
test {

config/owasp/suppressions.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<notes>Temporary Suppression
44
CVE-2023-34055 refer [Ticket]
55
CVE-2023-35116 refer [Ticket]
6-
CVE-2023-6481 refer [Ticket]
76
</notes>
87
<cve>CVE-2023-34055</cve>
98
<cve>CVE-2023-35116</cve>

0 commit comments

Comments
 (0)