oracle / oci-java-sdk

Oracle Cloud Infrastructure SDK for Java
https://cloud.oracle.com/cloud-infrastructure
Other
192 stars 153 forks source link

2.x: Upgrade nimbus-jose-jwt #499

Closed barchetta closed 1 year ago

barchetta commented 1 year ago

OCI SDK 2.58.0 depends on nimbus-jose-jwt 9.15.2 which includes(shaded) json-smart 2.4.7 which has CVE-2023-28867

Apparently nimbus-jose-jwt 9.24.2 removes json-smart and switches to gson (see comments at bottom of https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/239/switch-to-other-json-library).

Could you please upgrade nimbus-jose-jwt to 9.24.2 or newer?

joshunter commented 1 year ago

Hi @barchetta , latest version of the legacy SDK v2.60.1 addresses this issue. See https://github.com/oracle/oci-java-sdk/blob/v2.60.1/pom.xml#L58