Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce jackson-databind constraint for 2.12.7.1 #2733

Merged
merged 2 commits into from Nov 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions core/build.gradle.kts
Expand Up @@ -15,6 +15,12 @@ dependencies {
val jackson_version: String by project
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:$jackson_version")
val jackson_databind_version: String by project
constraints {
implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
because("CVE-2022-42003")
}
}

val coroutines_version: String by project
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Expand Up @@ -11,6 +11,8 @@ idea_version=213.6777.52
language_version=1.4
# jackson 2.13.X does not support kotlin language version 1.4, check before updating
jackson_version=2.12.7
# fixes CVE-2022-42003
jackson_databind_version=2.12.7.1
freemarker_version=2.3.31
# Code style
kotlin.code.style=official
Expand Down
6 changes: 6 additions & 0 deletions plugins/all-modules-page/build.gradle.kts
Expand Up @@ -18,6 +18,12 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
val jackson_version: String by project
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
val jackson_databind_version: String by project
constraints {
implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
because("CVE-2022-42003")
}
}
val kotlinx_html_version: String by project
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")

Expand Down
6 changes: 6 additions & 0 deletions plugins/base/build.gradle.kts
Expand Up @@ -11,6 +11,12 @@ dependencies {

val jackson_version: String by project
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
val jackson_databind_version: String by project
constraints {
implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
because("CVE-2022-42003")
}
}

val freemarker_version: String by project
implementation("org.freemarker:freemarker:$freemarker_version")
Expand Down
6 changes: 6 additions & 0 deletions plugins/gfm/build.gradle.kts
Expand Up @@ -6,6 +6,12 @@ dependencies {
testImplementation(project(":plugins:base:base-test-utils"))
val jackson_version: String by project
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
val jackson_databind_version: String by project
constraints {
implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
because("CVE-2022-42003")
}
}
}

registerDokkaArtifactPublication("gfmPlugin") {
Expand Down
6 changes: 6 additions & 0 deletions plugins/templating/build.gradle.kts
Expand Up @@ -11,6 +11,12 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
val jackson_version: String by project
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
val jackson_databind_version: String by project
constraints {
implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
because("CVE-2022-42003")
}
}
val kotlinx_html_version: String by project
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")

Expand Down
6 changes: 6 additions & 0 deletions plugins/versioning/build.gradle.kts
Expand Up @@ -12,6 +12,12 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
val jackson_version: String by project
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
val jackson_databind_version: String by project
constraints {
implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
because("CVE-2022-42003")
}
}
val kotlinx_html_version: String by project
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")

Expand Down