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

[MOSIP-37071] updating vulnerable libraries #127

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

rajapandi1234
Copy link

No description provided.

<jose4j.version>0.6.5</jose4j.version>
<jose4j.version>0.9.4</jose4j.version>
Copy link
Member

Choose a reason for hiding this comment

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

https://deps.dev/maven/org.bitbucket.b_c%3Ajose4j/0.7.6/compare?v2=0.9.6

TODO: Analysis required if this is even used.

<commons.validator.version>1.7</commons.validator.version>
<google.guava.version>18.0</google.guava.version>
<google.guava.version>32.0.0-android</google.guava.version>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<google.guava.version>32.0.0-android</google.guava.version>
<google.guava.version>32.0.0-jre</google.guava.version>

https://deps.dev/maven/com.google.guava%3Aguava/18.0/compare?v2=32.0.0-jre

We are using a really old version of guava, we should upgrade but at the same time evaluate iff anything is breaks or conflicts within other MOSIP components due to other usage of Google Guava.

<springdoc-openapi-webmvc-ui-version>2.5.0</springdoc-openapi-webmvc-ui-version>
<springdoc-openapi-webmvc-ui-version>2.6.0</springdoc-openapi-webmvc-ui-version>
Copy link
Member

Choose a reason for hiding this comment

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

This is unused at the moment among other dependencies, we'll clean it up as a separate PR.

$ mvn dependency:analyze
...
[WARNING] Used undeclared dependencies found:
[WARNING]    org.springframework:spring-context:jar:6.1.4:compile
[WARNING]    org.springframework:spring-core:jar:6.1.4:compile
[WARNING]    org.springframework.data:spring-data-redis:jar:3.2.3:compile
[WARNING]    org.springframework.boot:spring-boot-autoconfigure:jar:3.2.3:compile
[WARNING]    junit:junit:jar:4.13.2:compile
[WARNING]    org.springframework.security:spring-security-core:jar:6.2.2:compile
[WARNING]    org.springframework:spring-beans:jar:6.1.4:compile
[WARNING]    org.springframework:spring-webmvc:jar:6.1.4:compile
[WARNING]    com.fasterxml.jackson.core:jackson-annotations:jar:2.15.4:compile
[WARNING]    org.slf4j:slf4j-api:jar:2.0.12:compile
[WARNING]    com.nimbusds:nimbus-jose-jwt:jar:9.24.4:compile
[WARNING]    jakarta.validation:jakarta.validation-api:jar:3.0.2:compile
[WARNING]    org.springframework.security:spring-security-web:jar:6.2.2:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.springdoc:springdoc-openapi-starter-webmvc-ui:jar:2.5.0:compile
[WARNING]    com.h2database:h2:jar:2.2.224:test
[WARNING]    org.springframework.boot:spring-boot-starter-data-redis:jar:3.2.3:compile
[WARNING]    org.springframework.boot:spring-boot-starter-cache:jar:3.2.3:compile
[WARNING]    org.apache.velocity:velocity:jar:1.7:compile
[WARNING]    org.apache.velocity.tools:velocity-tools-generic:jar:3.1:compile
[WARNING]    org.springframework.boot:spring-boot-starter-data-jpa:jar:3.2.3:compile
[WARNING]    org.springframework.boot:spring-boot-test:jar:3.2.3:test
[WARNING]    org.springframework.boot:spring-boot-starter-validation:jar:3.2.3:compile
[WARNING]    org.springframework.boot:spring-boot-starter-oauth2-resource-server:jar:3.2.3:compile
[WARNING]    org.bitbucket.b_c:jose4j:jar:0.6.5:compile
[WARNING]    org.projectlombok:lombok:jar:1.18.30:compile
[WARNING]    com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.10.2:compile
[WARNING] Non-test scoped test only dependencies found:
[WARNING]    junit:junit:jar:4.13.2:compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants