Repository navigation
fix(security): bump backend deps to clear Snyk high/critical findings - #30051
Conversation
Backend dependency version bumps to clear every high/critical finding flagged in the 2026-07-13 Snyk server-dep-scan. Fixed vulnerabilities: - ch.qos.logback:logback-core / -classic 1.5.25 -> 1.5.36 SNYK-JAVA-CHQOSLOGBACK-17675439 (Expression Injection) - tools.jackson.core:jackson-databind 3.1.3 -> 3.1.4 SNYK-JAVA-TOOLSJACKSONCORE-17440365 (Incomplete List of Disallowed Inputs) SNYK-JAVA-TOOLSJACKSONCORE-17440597 (Deserialization of Untrusted Data) - org.apache.httpcomponents.core5:httpcore5-h2 5.3.5 -> 5.4.2 SNYK-JAVA-ORGAPACHEHTTPCOMPONENTSCORE5-17817217 / 17817218 (HTTP/2 DoS) - org.eclipse.parsson:parsson 1.1.5 / 1.1.7 -> 1.1.8 SNYK-JAVA-ORGECLIPSEPARSSON-17817925 - org.postgresql:postgresql 42.7.11 -> 42.7.12 SNYK-JAVA-ORGPOSTGRESQL-17874248 - com.mchange:mchange-commons-java 0.4.0 -> 0.6.1 (pinned; c3p0 0.12.0 pulls 0.4.0) SNYK-JAVA-COMMCHANGE-17796416 - com.nimbusds:nimbus-jose-jwt 9.40 -> 10.0.2 (excluded from msal4j; restated) GHSA-xwmg-2g98-w7v9 (DoS via deeply nested JSON) openmetadata-service/pom.xml already pinned nimbus-jose-jwt 10.0.2, but that dep-management does not reach openmetadata-java-client (sibling module, not a child). Excluded the transitive 9.40 from msal4j and restated the patched line locally. openmetadata-service/pom.xml still had its own logback-*.version properties at 1.5.25 that shadowed the root pom value; bumped both in lockstep to keep resolution consistent. Verified: mvn install -DskipTests succeeds; OSV.dev batch across the full backend tree returns zero high/critical residuals.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
…trim comments - jackson 2.18.8 -> 2.18.9 fixes CVE-2026-54515 per Snyk (advisory range [2.8.0.rc1, 2.18.9) — 2.18.8 was still vulnerable). - httpcore5-h2 5.4.2 -> 5.4.3 fixes HPackDecoder DoS (Snyk range [, 5.4.3) meaning 5.4.2 was still vulnerable). - calcite-core 1.36.0 -> 1.42.0 fixes GHSA-c2rv-hwqm-wjpg. Only two OM files call into calcite (SqlToSparqlTranslator, SparqlBuilder) and they use the stable SQL-parser surface (SqlParser / SqlNode / SqlStdOperatorTable / SqlVisitor); full backend reactor build succeeds. - Dropped chatty per-dep CVE comments; refs stay in this commit and the PR description.
…s exclusion Cleaner than excluding nimbus-jose-jwt from msal4j and restating 10.0.2 on top of oauth2-oidc-sdk 11.18 (which was built against the nimbus 9.x API line, risking NoSuchMethodError at runtime in the Azure MSAL auth path). oauth2-oidc-sdk 11.38.1 (latest 11.x) natively targets nimbus-jose-jwt 10.9, so this keeps both artifacts on API-compatible versions. Resolved nimbus is 10.9, which is Snyk-clean and above the CVE-2026-* fixed line (10.0.2+). Addresses gitar-bot code-review finding on #30051.
|
@gitar-bot valid concern — switched from the nimbus-exclusion + restate approach to bumping |
🟡 Playwright Results — all passed (29 flaky)✅ 4525 passed · ❌ 0 failed · 🟡 29 flaky · ⏭️ 96 skipped
🟡 29 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
…nge 0.6.1) Addresses greptile-bot review on #30051. Bumping c3p0 keeps it API-aligned with the mchange-commons-java line it was compiled against, instead of forcing a newer commons jar under the old c3p0 (Quartz scheduler startup loads c3p0 against mchange and would hit a runtime API mismatch). c3p0 0.14.1 natively depends on mchange-commons-java 0.6.1, so the root pom depMgmt override for mchange-commons-java is redundant now — dropped.
|
Code Review ✅ Approved 1 resolved / 1 findingsBumps various backend dependencies to resolve high and critical Snyk security findings. Addresses potential MSAL auth regressions by upgrading to a natively compatible oauth2-oidc-sdk version. ✅ 1 resolved✅ Bug: Forcing nimbus-jose-jwt 10.0.2 under oauth2-oidc-sdk 11.18 may break MSAL auth
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
Backport 5 dependency version bumps already on main but missing from 1.13. These artifacts are declared in OpenMetadata's own poms, so 1.13 shipped them at vulnerable versions. - CVE-2026-9563 (HIGH): parsson 1.1.5 -> 1.1.8 (main #30051) - CVE-2026-59889 (HIGH): tools.jackson BOM 3.1.3 -> 3.1.5 (main #30498) - CVE-2026-41715 (MED): reactor-netty-http 1.2.16 -> 1.2.18 (main #31257) - CVE-2026-15687 (MED): kubernetes client-java 24.0.0 -> 25.0.1 (main #31342) - CVE-2025-55754 (MED): tomcat-jdbc/-juli 11.0.5 -> 11.0.11 (main #31258)



Summary
Backend dependency version bumps to clear every high/critical finding flagged in the 2026-07-13 Snyk
server-dep-scan: https://github.com/open-metadata/OpenMetadata/actions/runs/29215928950Fixed vulnerabilities
Notes
openmetadata-service/pom.xmlhad its ownlogback-*.versionproperties at1.5.25that shadowed the root pom value — bumped both in lockstep.mchange-commons-java 0.6.1matches what c3p0 0.14.1 depends on; forces the fixed line without a c3p0 major bump.openmetadata-java-clientwas pullingnimbus-jose-jwt 9.40transitively viamsal4j 1.17.2 → oauth2-oidc-sdk 11.18. Rather than excluding nimbus and forcing 10.0.2 under an sdk built for the 9.x API line, bumpedoauth2-oidc-sdkto 11.38.1 (latest 11.x, same major msal4j needs) which natively targets nimbus-jose-jwt 10.9. Both artifacts stay on API-compatible versions.SqlToSparqlTranslator,SparqlBuilder) and they use the stable SQL-parser surface (SqlParser/SqlNode/SqlStdOperatorTable/SqlVisitor); the full backend reactor build passes.Snyk clean at pinned versions
Each pinned version checked directly against Snyk's package advisory pages — all return "No direct vulnerabilities":
Full transitive tree also checked via OSV.dev batch across every resolved backend jar (1280 unique artifacts, 3-module aggregate) — zero high/critical residuals.
Test plan
mvn install -DskipTestssucceeds for the backend reactor (!openmetadata-ui)mvn dependency:treeconfirms every override resolves to the pinned line🤖 Generated with Claude Code
Greptile Summary
This PR bumps backend dependencies to patched versions for reported vulnerability fixes. The main changes are:
Confidence Score: 5/5
This looks safe to merge.
Important Files Changed
oauth2-oidc-sdkversion bump for the Java client dependency graph.Reviews (4): Last reviewed commit: "Merge branch 'main' into security/backen..." | Re-trigger Greptile
Context used (3)