Skip to content

Commit 5a68e10

Browse files
committed
RUN-0000: Force kotlin-stdlib to 2.1.0 to fix CVE-2020-29582
kotlin-stdlib is pulled in transitively via okhttp/okio/logging-interceptor and was resolving to 1.9.10, which is vulnerable. Force it to 2.1.0 across all subprojects, following the existing commons-compress CVE mitigation pattern.
1 parent c8ee378 commit 5a68e10

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ subprojects{
4949
configurations.all {
5050
resolutionStrategy {
5151
force libs.commonsCompress
52+
force 'org.jetbrains.kotlin:kotlin-stdlib:2.1.0'
53+
force 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0'
54+
force 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:2.1.0'
55+
force 'org.jetbrains.kotlin:kotlin-stdlib-common:2.1.0'
5256
}
5357
}
5458
}

gradle/verification-metadata.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,6 +2233,14 @@
22332233
<sha256 value="7e29fbf73fdf71e0679d3dee7e680fd573464fa01644a4f58ab819d2c088d3d2" origin="Generated by Gradle"/>
22342234
</artifact>
22352235
</component>
2236+
<component group="org.jetbrains.kotlin" name="kotlin-stdlib" version="2.1.0">
2237+
<artifact name="kotlin-stdlib-2.1.0.jar">
2238+
<sha256 value="d6f91b7b0f306cca299fec74fb7c34e4874d6f5ec5b925a0b4de21901e119c3f" origin="Generated by Gradle"/>
2239+
</artifact>
2240+
<artifact name="kotlin-stdlib-2.1.0.module">
2241+
<sha256 value="dcfbc8e8bf32cd67a7efadd91d31152bce9870911d6ec50878f4fdb6e03e70e2" origin="Generated by Gradle"/>
2242+
</artifact>
2243+
</component>
22362244
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-common" version="1.5.31">
22372245
<artifact name="kotlin-stdlib-common-1.5.31.jar">
22382246
<sha256 value="dfa2a18e26b028388ee1968d199bf6f166f737ab7049c25a5e2da614404e22ad" origin="Generated by Gradle"/>
@@ -2254,6 +2262,11 @@
22542262
<sha256 value="7d4b70547910676b3bdfc8925a88f3b6bfb24582c9784542805544ceef490a92" origin="Generated by Gradle" reason="Artifact is not signed"/>
22552263
</artifact>
22562264
</component>
2265+
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-common" version="2.1.0">
2266+
<artifact name="kotlin-stdlib-common-2.1.0.module">
2267+
<sha256 value="2b9a5ae785f8513a93f8cec3f6e5e07f8b1766f8497b3a487f3441a251d67563" origin="Generated by Gradle"/>
2268+
</artifact>
2269+
</component>
22572270
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk7" version="1.5.31">
22582271
<artifact name="kotlin-stdlib-jdk7-1.5.31.jar">
22592272
<sha256 value="a25bf47353ce899d843cbddee516d621a73473e7fba97f8d0301e7b4aed7c15f" origin="Generated by Gradle"/>
@@ -2275,6 +2288,14 @@
22752288
<sha256 value="c7fa67c7961320b89d85a3ca59a2e18c2c65850845595dcae4b46af6945edcd5" origin="Generated by Gradle"/>
22762289
</artifact>
22772290
</component>
2291+
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk7" version="2.1.0">
2292+
<artifact name="kotlin-stdlib-jdk7-2.1.0.jar">
2293+
<sha256 value="fdea6c4203724f42e8e64bef2f0bf79129ccd1df1edf1ccffdc22de7df498c76" origin="Generated by Gradle"/>
2294+
</artifact>
2295+
<artifact name="kotlin-stdlib-jdk7-2.1.0.pom">
2296+
<sha256 value="06fbc14ecb14a0af47b5a3f8d34763f4933d5cba5a3d245045bfe2f2bdb91b1e" origin="Generated by Gradle"/>
2297+
</artifact>
2298+
</component>
22782299
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk8" version="1.5.31">
22792300
<artifact name="kotlin-stdlib-jdk8-1.5.31.jar">
22802301
<sha256 value="b548f7767aacf029d2417e47440742bd6d3ebede19b60386e23554ce5c4c5fdc" origin="Generated by Gradle"/>
@@ -2296,6 +2317,14 @@
22962317
<sha256 value="5f4b94dd3065a7764c37fa15de2ad6d81f40d59f8cb33f17d181c6384fb7a72e" origin="Generated by Gradle"/>
22972318
</artifact>
22982319
</component>
2320+
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk8" version="2.1.0">
2321+
<artifact name="kotlin-stdlib-jdk8-2.1.0.jar">
2322+
<sha256 value="238d3c7e492f119b50da1c22546dd762462e55f22409611f5e53dd77625cd544" origin="Generated by Gradle"/>
2323+
</artifact>
2324+
<artifact name="kotlin-stdlib-jdk8-2.1.0.pom">
2325+
<sha256 value="e762b8c45690ae8a6a35df584f54be9c9da65885e61a905426aeafca5937e1ce" origin="Generated by Gradle"/>
2326+
</artifact>
2327+
</component>
22992328
<component group="org.junit" name="junit-bom" version="5.10.2">
23002329
<artifact name="junit-bom-5.10.2.module">
23012330
<sha256 value="de23b114b3e4119a8fe6eb17bed5a3852816698bace67071579d6d927ebb080a" origin="Maven Central" reason="Gradle Module Metadata served by the plugin classpath repository"/>

0 commit comments

Comments
 (0)