From fea3fdd2da35724df2aa1fdd9823d6df24bfd30b Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Wed, 1 Jul 2026 10:49:42 -0700 Subject: [PATCH] Address OWASP dependency-check CVEs in Jackson and Kotlin (#1428) ## Rationale The 26.3 OWASP Dependency Check build flagged 18 findings: seven CVEs (CVE-2026-54512 through CVE-2026-54518) against each of Jackson 2.x (com.fasterxml.jackson.core:jackson-databind 2.21.0) and Jackson 3.x (tools.jackson.core:jackson-databind 3.1.0), plus CVE-2026-53914 against the transitive Kotlin jars. ## Related Pull Requests None. ## Changes - Bump Jackson 2.x (jacksonVersion, jacksonDatabindVersion, jacksonJaxrsBaseVersion) to 2.21.4 and jackson3Version to 3.1.4. - Suppress CVE-2026-53914 for the transitive Kotlin jars (not applicable: LabKey compiles no Kotlin; the jars are transitive OkHttp runtime deps). --- dependencyCheckSuppression.xml | 12 ++++++++++++ gradle.properties | 8 ++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/dependencyCheckSuppression.xml b/dependencyCheckSuppression.xml index 4a7c257d00..0fe1a5999d 100644 --- a/dependencyCheckSuppression.xml +++ b/dependencyCheckSuppression.xml @@ -316,4 +316,16 @@ CVE-2025-15104 + + + + ^pkg:maven/org\.jetbrains\.kotlin/.*@.*$ + CVE-2026-53914 + + diff --git a/gradle.properties b/gradle.properties index 21f365151f..60f1759e85 100644 --- a/gradle.properties +++ b/gradle.properties @@ -195,15 +195,15 @@ httpcoreVersion=4.4.16 intellijKotlinVersion=2.3.10 # Update the three Jackson dependency versions below in tandem, unless one gets a patch release out-of-sync with the others -jacksonVersion=2.21.0 -jacksonDatabindVersion=2.21.0 -jacksonJaxrsBaseVersion=2.21.0 +jacksonVersion=2.21.4 +jacksonDatabindVersion=2.21.4 +jacksonJaxrsBaseVersion=2.21.4 # Note the inconsistent version numbering for "annotations"... it no longer matches the above jacksonAnnotationsVersion=2.21 # Spring Boot brings in a transitive dependency on Jackson 3.x. It has changed package names and can coexist with Jackson 2.x. -jackson3Version=3.1.0 +jackson3Version=3.1.4 # The Jakarta Activation API version that Angus Activation implements. Keep in sync with angusActivationVersion (above). jakartaActivationApiVersion=2.1.4