Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCD-5265 #298

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ dependencies {
implementation group: 'org.codehaus.groovy', name: 'groovy', version: groovyVersion
implementation group: 'org.codehaus.groovy', name: 'groovy-xml', version: groovyVersion

implementation group: 'com.nimbusds', name: 'nimbus-jose-jwt', version: '7.9'
implementation group: 'com.nimbusds', name: 'nimbus-jose-jwt', version: '9.37.2'
implementation group: 'org.springframework.security', name: 'spring-security-crypto'


Expand Down Expand Up @@ -253,7 +253,7 @@ dependencies {

implementation group: 'junit', name: 'junit', version: '4.13.1'

implementation group: 'net.minidev', name: 'json-smart', version: '2.4.7'
implementation group: 'net.minidev', name: 'json-smart', version: '2.4.9'

// CCD-3511 CVE-2020-15522
implementation group: 'org.bouncycastle', name: 'bcpkix-jdk15to18', version: '1.77'
Expand Down
4 changes: 1 addition & 3 deletions dependency-check-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
<notes>Temporary Suppression
CVE-2022-45688 refer https://tools.hmcts.net/jira/browse/CCD-4373
CVE-2023-5072 refer [Ticket]
CVE-2023-41327 refer [Ticket]
CVE-2023-1370 refer [Ticket]</notes>
CVE-2023-41327 refer [Ticket]</notes>
<cve>CVE-2022-45688</cve>
<cve>CVE-2023-5072</cve>
<cve>CVE-2023-1370</cve>
</suppress>
</suppressions>
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private ResponseEntity<Object> getPublicKey() throws JOSEException {
RSAKey rsaKey = KeyGenUtil.getRsaJWK();
Map<String, List<JSONObject>> body = new LinkedHashMap<>();
List<JSONObject> keyList = new ArrayList<>();
keyList.add(rsaKey.toPublicJWK().toJSONObject());
keyList.add(new JSONObject(rsaKey.toPublicJWK().toJSONObject()));
body.put("keys", keyList);
HttpHeaders httpHeaders = new HttpHeaders();

Expand Down