Skip to content

Commit

Permalink
Fix okio-jvm 3.0.0 CVE (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
nquinquenel authored Aug 2, 2023
1 parent 6d69801 commit 216a60f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ dependencies {
testImplementation("org.junit.platform:junit-platform-launcher")
testImplementation(libs.assertj.core)
testImplementation(libs.mockito.core)
testImplementation("com.squareup.okhttp3:mockwebserver:4.10.0")
testImplementation("com.squareup.okhttp3:mockwebserver:4.11.0")
testImplementation("org.mockito.kotlin:mockito-kotlin:4.1.0")
testImplementation("org.eclipse.jetty:jetty-server:$jettyVersion")
testImplementation("org.eclipse.jetty:jetty-servlet:$jettyVersion")
Expand All @@ -224,6 +224,11 @@ dependencies {
}
// workaround for light tests in 2020.3, might remove later
testRuntimeOnly("org.jetbrains.kotlin:kotlin-reflect")
constraints {
testImplementation("com.squareup.okio:okio-jvm:3.4.0") {
because("this transitive dependency of okhttp3 has a high severity vulnerability not yet patched")
}
}
}

tasks {
Expand Down

0 comments on commit 216a60f

Please sign in to comment.