Skip to content

Commit e0dea62

Browse files
author
Zach Chuba
committed
Bump snakeyaml version to 2.3 to eliminate critical CVE-2022-1471 with 1.33. Upgrade databind to enable this.
1 parent e1dc19f commit e0dea62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ tasks.japicmp {
6363
configurations.all {
6464
resolutionStrategy {
6565
// use lower Jackson version
66-
force 'com.fasterxml.jackson.core:jackson-databind:2.8.8'
67-
force 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.8'
66+
force 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
67+
force 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
6868
}
6969
}
7070

@@ -100,7 +100,7 @@ dependencies {
100100
api 'com.github.docker-java:docker-java-transport-zerodep'
101101

102102
shaded 'com.google.guava:guava:33.3.1-jre'
103-
shaded "org.yaml:snakeyaml:1.33"
103+
shaded "org.yaml:snakeyaml:2.3"
104104

105105
shaded 'org.glassfish.main.external:trilead-ssh2-repackaged:4.1.2'
106106

modules/k3s/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies {
66
// https://youtu.be/otCpCn0l4Wo
77
// The core module depends on jackson-databind 2.8.x for backward compatibility.
88
// Any >2.8 version here is not compatible with jackson-databind 2.8.x.
9-
shaded 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.8.8'
9+
shaded 'com.fasterxml.jackson.dataformat:jackson-dataformats-text:2.18.2'
1010

1111
testImplementation 'io.fabric8:kubernetes-client:6.13.1'
1212
testImplementation 'io.kubernetes:client-java:21.0.1-legacy'

0 commit comments

Comments
 (0)