Skip to content

Commit

Permalink
Fix vulnerabilities CVE-2022-1471 (snakeyaml) and CVE-2023-44981 (zoo…
Browse files Browse the repository at this point in the history
…keeper) along with some reported by dependabot
  • Loading branch information
torchr89 committed Nov 22, 2023
1 parent fdfb6a7 commit 6c36c8d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,22 @@ dependencies {
testImplementation("com.h2database:h2:${Versions.h2Version}")
testImplementation("io.mockk:mockk:${Versions.mockkVersion}")
testImplementation("com.ninja-squad:springmockk:${Versions.springMockkVersion}")

constraints {
implementation("org.apache.zookeeper:zookeeper") {
because("CVE-2023-44981")
version {
require("3.9.1")
}
}

implementation("org.yaml:snakeyaml") {
because("CVE-2022-1471")
version {
require("2.2")
}
}
}
}

java.toolchain {
Expand Down

0 comments on commit 6c36c8d

Please sign in to comment.