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

Vulnerability in protobuf-java #1178

Closed
salaboy opened this issue Dec 9, 2024 · 2 comments · Fixed by #1182
Closed

Vulnerability in protobuf-java #1178

salaboy opened this issue Dec 9, 2024 · 2 comments · Fixed by #1182
Labels
kind/bug Something isn't working

Comments

@salaboy
Copy link
Contributor

salaboy commented Dec 9, 2024

Expected Behavior

A HIGH vulnerability was found in pkg:maven/com.google.protobuf/protobuf-java@3.25.1

To solve this we should upgrade the GRPC library pkg:maven/io.grpc/grpc-protobuf@1.64.0 to https://central.sonatype.com/artifact/io.grpc/grpc-protobuf/1.68.2
which brings a new version of com.google.protobuf/protobuf-java -> 3.25.1

Actual Behavior

Steps to Reproduce the Problem

Release Note

RELEASE NOTE:

@salaboy salaboy added the kind/bug Something isn't working label Dec 9, 2024
@salaboy
Copy link
Contributor Author

salaboy commented Dec 25, 2024

There are still some transitive dependency issues with 1.64.0, we should use 1.69.0

+--- io.dapr:dapr-sdk:1.13.1
|    +--- io.dapr:dapr-sdk-autogen:1.13.1
|    |    +--- io.grpc:grpc-protobuf:1.64.0
|    |    |    +--- io.grpc:grpc-api:1.64.0 (*)
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.protobuf:protobuf-java:3.25.1
|    |    |    +--- com.google.api.grpc:proto-google-common-protos:2.29.0
|    |    |    |    \--- com.google.protobuf:protobuf-java:3.25.1

@salaboy
Copy link
Contributor Author

salaboy commented Dec 25, 2024

PR sent that align all versions:

salaboy@salaboyMBP java-sdk % mvn dependency:tree | grep protobuf-java
[INFO] |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |     +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO]    |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  |  |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] |  +- com.google.protobuf:protobuf-java:jar:3.25.5:compile
[INFO] +- com.google.protobuf:protobuf-java-util:jar:3.25.5:compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant