Skip to content

Commit

Permalink
Force Okio upgrade to 3.6.0 to avoid CVE-2023-3635
Browse files Browse the repository at this point in the history
Not actually susceptible to this CVE because we don't use GzipSource,
but this at least removes the vulnerability warning.
  • Loading branch information
christiandeange committed Nov 3, 2023
1 parent 439f09a commit 77481ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ dependencies {
api(libs.moshi)
api(libs.moshi.adapters)

implementation(libs.okio)

ksp(libs.moshi.codegen)
}

Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ kotlinpoet = { module = "com.squareup:kotlinpoet", version = "1.14.2" }
moshi = { module = "com.squareup.moshi:moshi", version.ref = "moshi" }
moshi-adapters = { module = "com.squareup.moshi:moshi-adapters", version.ref = "moshi" }
moshi-codegen = { module = "com.squareup.moshi:moshi-kotlin-codegen", version.ref = "moshi" }
okio = { module = "com.squareup.okio:okio", version = "3.6.0" }

kotlinx-abi = { module = "org.jetbrains.kotlinx:binary-compatibility-validator", version.ref = "kotlinx-abi-plugin" }
kotlinx-atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version = "0.22.0" }
Expand Down

0 comments on commit 77481ac

Please sign in to comment.