Repository navigation
fix(security): bump logback to 1.5.38 and pin avatica-core to 1.29.0 - #34287
Conversation
- logback-core/classic 1.5.36 -> 1.5.38 clears CVE-2026-13006 (code execution via Janino conditional config, fixed in 1.5.37). Janino is on the server classpath via calcite-core. - avatica-core pinned to 1.29.0 in dependencyManagement for CVE-2026-70410 (unsafe reflection in AvaticaUtils#instantiatePlugin). calcite-core 1.42.0 is the latest release and still declares 1.28.0. Stays on logback 1.5.x on purpose: 1.6.x removed PatternLayout.DEFAULT_CONVERTER_MAP, which Dropwizard's LogbackAccessRequestLayout (5.0.0 through 5.0.2) reads in its static initializer, so text request logging fails with NoSuchFieldError (SwitchableLayoutFactoryTest reproduces it). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
❌ 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 |
✅ Playwright Results — workflow succeededValidated commit ✅ 4654 passed · ❌ 0 failed · 🟡 3 flaky · ⏭️ 1 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 52m 38s ⏱️ Max setup 5m 26s · max shard execution 19m 28s · max shard-job elapsed before upload 22m 50s · reporting 18s 🌐 228.53 requests/attempt · 2.19 app boots/UI scenario · 37.41% common-shard skew Optimization targets still in progress:
🟡 3 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 |
🚦 Removed from the merge queue —
|
🚦 Removed from the merge queue —
|
🚦 Removed from the merge queue —
|
Code Review ✅ Approved🟡 Medium risk · Dependency version overrides change server logging and Avatica runtime components. Bumps OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
🚦 Removed from the merge queue —
|
Summary
Addresses two dependency findings from the security scan list:
ch.qos.logback:logback-core/logback-classiccalcite-core).org.apache.calcite.avatica:avatica-coreAvaticaUtils#instantiatePlugin.calcite-core1.42.0 is the latest release and still declares 1.28.0, so it is pinned in rootdependencyManagement.Neither CVE is reported by Snyk in
security-scan.yml(the GitHub advisories carry no package mapping), which is why they never showed up there.Why not logback 1.6.x
logback 1.6.x removed
PatternLayout.DEFAULT_CONVERTER_MAP. Dropwizard'sLogbackAccessRequestLayoutreads it in its static initializer in every release through the latest (5.0.2, which itself builds against logback 1.5.33), so text request logging fails with:SwitchableLayoutFactoryTest.buildsTextAccessLayoutWithConfiguredPatternreproduces it on 1.6.4. The same breakage applies to the logback 1.6.4 bump inside Dependabot #34006. CVE-2026-19880 (medium, fixed only on 1.6.x) therefore stays open until Dropwizard supports logback 1.6.Test plan
mvn dependency:treeonopenmetadata-service: logback 1.5.38, avatica-core/avatica-metrics 1.29.0SqlToSparqlTranslatorTest,SparqlBuilderNestedFieldsTest(calcite/avatica path),SwitchableLayoutFactoryTest,LoggingConfigurationYamlTest,AppRunLogAppenderTest,StartupTimerTest,AuditLogRepositoryTest: 73 tests, 0 failures🤖 Generated with Claude Code