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

Java SDK vulnerabilities in 12.1 #1162

Closed
alicejgibbons opened this issue Nov 29, 2024 · 3 comments · Fixed by #1163
Closed

Java SDK vulnerabilities in 12.1 #1162

alicejgibbons opened this issue Nov 29, 2024 · 3 comments · Fixed by #1163

Comments

@alicejgibbons
Copy link

alicejgibbons commented Nov 29, 2024

Four vulnerabilities found in the latest Java SDK 1.12.1.

SDK sub component module cvssScore version Fixed in link to CVE
dapr-sdk-autogen com.google.protobuf:protobuf-java 8.7 (high) 3.25.0 3.25.5;4.27.5;4.28.2 Snyk CVE-2024-7254
dapr-sdk com.squareup.okhttp3:okhttp 4.8 (med) 4.9.0 4.9.2 SnykCVE-2023-0833
dapr-sdk org.jetbrains.kotlin:kotlin-stdlib 5.3 (med) 1.4.10 1.6.0 Snyk CVE-2022-24329
dapr-sdk org.jetbrains.kotlin:kotlin-stdlib 3.3 (low) 1.9.10 2.1.0 Snyk CVE-2020-29582
@salaboy
Copy link
Contributor

salaboy commented Nov 29, 2024

Ok.. so.. it seems that this is the problem:

com.squareup.okhttp3:okhttp
[INFO] +- io.dapr:dapr-sdk-autogen:jar:1.13.0-SNAPSHOT:compile
[INFO] |  +- io.grpc:grpc-netty-shaded:jar:1.64.0:runtime
[INFO] |  |  +- com.google.errorprone:error_prone_annotations:jar:2.23.0:compile
[INFO] |  |  \- io.perfmark:perfmark-api:jar:0.26.0:runtime
[INFO] |  +- io.grpc:grpc-protobuf:jar:1.64.0:compile
[INFO] |  |  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java:jar:3.25.1:compile
[INFO] |  |  +- com.google.api.grpc:proto-google-common-protos:jar:2.29.0:compile
[INFO] |  |  \- io.grpc:grpc-protobuf-lite:jar:1.64.0:runtime
[INFO] |  \- io.grpc:grpc-stub:jar:1.64.0:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.15.1:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.15.1:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-core:jar:2.15.1:compile
[INFO] +- io.projectreactor:reactor-core:jar:3.5.0:compile
[INFO] |  \- org.reactivestreams:reactive-streams:jar:1.0.4:compile
[INFO] +- com.squareup.okhttp3:okhttp:jar:4.9.0:compile
[INFO] |  +- com.squareup.okio:okio:jar:2.8.0:compile
[INFO] |  |  \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.0:compile
[INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.10:compile
[INFO] |     \- org.jetbrains:annotations:jar:13.0:compile

@salaboy
Copy link
Contributor

salaboy commented Nov 29, 2024

So. if we upgrade:

com.squareup.okhttp3:okhttp 

To 4.9.2 the issue with org.jetbrains.kotlin:kotlin-stdlib should be solved.

@salaboy
Copy link
Contributor

salaboy commented Nov 29, 2024

Created a PR: #1163

artursouza pushed a commit that referenced this issue Nov 29, 2024
artursouza pushed a commit to artursouza/java-sdk that referenced this issue Dec 3, 2024
artursouza pushed a commit to artursouza/java-sdk that referenced this issue Dec 3, 2024
artursouza added a commit that referenced this issue Dec 4, 2024
Signed-off-by: Artur Souza <[email protected]>
Co-authored-by: salaboy <[email protected]>
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 a pull request may close this issue.

2 participants