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

HDDS-10600. Bump nimbus-jose-jwt to 9.37.2 #6454

Merged

Conversation

vtutrinov
Copy link
Contributor

What changes were proposed in this pull request?

It's a continuation of the discussion started here - #6441

hdds-hadoop-dependency-(client|server) modules depend on hadoop-common, the latter depends on com.nimbusds:nimbus-jose-jwt:9.8.1 (through org.apache.hadoop:hadoop-auth).

The 9.8.1th version of the com.nimbusds:nimbus-jose-jwt library contains a shaded version of the net.minidev:json-smart:1.3.2 (https://bitbucket.org/connect2id/nimbus-jose-jwt/src/815b98228df7be7b918ae368ea003a034768f769/pom.xml#lines-59) that has a CVE - https://nvd.nist.gov/vuln/detail/CVE-2021-31684.

Upgrading the nimbus-jose-jwt up to 9.24 will resolve the issue - there the json-smart was replaced with google-gson library

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10600

How was this patch tested?

Existing hadoop-related robot tests

…24 - fix json-smart CVE (json-smart was replaced with google-gson lib)
Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vtutrinov for working on this.

pom.xml Outdated Show resolved Hide resolved
@adoroszlai adoroszlai changed the title HDDS-10600. Bump com.nimbusds.nimbus-jose-jwt to 9.24 HDDS-10600. Bump nimbus-jose-jwt to 9.37.2 Mar 28, 2024
@adoroszlai adoroszlai merged commit 38e3add into apache:master Mar 28, 2024
36 checks passed
@adoroszlai
Copy link
Contributor

Thanks @vtutrinov for the patch.

myskov pushed a commit to myskov/ozone that referenced this pull request Apr 4, 2024
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants