Skip to content

Commit 5d913c0

Browse files
[RDCC-6234] Address CVEs in all Reference Data repositories - Judicial Reference Data (#499)
* [RDCC-6234] Address CVEs in all Reference Data repositories - Judicial Reference Data * [RDCC-6234] Address CVEs in all Reference Data repositories - Judicial Reference Data * [RDCC-6234] Address CVEs in all Reference Data repositories - Judicial Reference Data * [RDCC-6234] Address CVEs in all Reference Data repositories - Judicial Reference Data * [RDCC-6234] Address CVEs in all Reference Data repositories - Judicial Reference Data
1 parent a4cac11 commit 5d913c0

File tree

2 files changed

+18
-36
lines changed

2 files changed

+18
-36
lines changed

build.gradle

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ dependencies {
301301
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: versions.springBoot
302302
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: versions.springBoot
303303
implementation group: 'org.springframework.security', name: 'spring-security-core', version: '5.7.5'
304-
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-bootstrap', version: '3.0.2'
305304
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-cache', version: versions.springBoot
306305

307306
implementation group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.70'
@@ -365,7 +364,11 @@ dependencies {
365364
implementation "io.github.openfeign:feign-httpclient:11.0"
366365
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: versions.log4j
367366

368-
367+
implementation group: 'com.nimbusds', name: 'lang-tag', version: '1.7'
368+
implementation group: 'org.json', name: 'json', version: '20230227'
369+
370+
371+
369372

370373
testImplementation ('com.github.hmcts:rd-commons-lib:v0.0.13'){
371374
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-web'
@@ -453,6 +456,12 @@ dependencyManagement {
453456
entry 'tomcat-embed-el'
454457
entry 'tomcat-embed-websocket'
455458
}
459+
460+
//CVE-2021-22044
461+
dependencySet(group: 'org.springframework.cloud', version: '3.1.5') {
462+
entry 'spring-cloud-starter-openfeign'
463+
entry 'spring-cloud-openfeign-core'
464+
}
456465
}
457466
}
458467

config/owasp/suppressions.xml

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
3-
<suppress until="2023-12-16">
4-
<notes><![CDATA[
5-
file name: lang-tag-1.4.4.jar
6-
]]></notes>
7-
<packageUrl regex="true">^pkg:maven/com\.nimbusds/lang\-tag@.*$</packageUrl>
8-
<cve>CVE-2020-23171</cve>
9-
</suppress>
10-
<suppress until="2023-05-16">
11-
<notes><![CDATA[
12-
file name: spring-core-5.3.18.jar
13-
]]></notes>
14-
<cve>CVE-2016-1000027</cve>
15-
</suppress>
16-
<suppress until="2023-12-30">
17-
<notes><![CDATA[
18-
file name: tomcat-embed-core-9.0.63.jar
19-
]]></notes>
20-
<cve>CVE-2022-34305</cve>
21-
<cve>CVE-2021-37533</cve>
22-
</suppress>
3+
234
<suppress until="2023-12-30">
245
<notes>cucumber:datatable pom contains com.googlecode.java-diff-utils:diffutils which has the CVE vulnerability, no fix has been released yet for this</notes>
256
<cve>CVE-2021-4277</cve>
267
</suppress>
27-
<suppress>
28-
<packageUrl regex="true">^pkg:maven/org\.yaml/snakeyaml@.*$</packageUrl>
29-
<cve>CVE-2021-4235</cve>
30-
<cve>CVE-2022-3064</cve>
31-
<cve>CVE-2021-22044</cve>
32-
</suppress>
8+
339
<suppress>
34-
<notes>CVE-2022-22978 suppression (false positive), because spring security already at (5.7.5) this is higher than the vulnerable versions
35-
(5.5.x prior to 5.5.7, 5.6.x prior to 5.6.4)
36-
https://tanzu.vmware.com/security/cve-2022-22978</notes>
37-
<cve>CVE-2022-22978</cve>
38-
<cve>CVE-2022-22976</cve>
39-
<cve>CVE-2021-22044</cve>
40-
</suppress>
10+
<cve>CVE-2022-45688</cve>
11+
</suppress>
12+
4113
<suppress>
42-
<cve>CVE-2022-45688</cve>
14+
<notes>commons-fileupload</notes>
15+
<cve>CVE-2023-24998</cve>
4316
</suppress>
4417
</suppressions>

0 commit comments

Comments
 (0)