Repository navigation
fix(deps): bump shiro, postgresql, opentelemetry, kerby, json-smart, wcmatch for CVEs - #21597
Conversation
PR SummaryOverview Java ( Tests in Python ( Reviewed by Cursor Bugbot for commit af9ffd8. Bugbot is set up for automated code reviews on this repo. Configure here. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
🤖 Meticulous is testing this change with Agent swarm instead of replaying recorded sessions. View Agent swarm. Last updated for commit |
Smart test selectionpytest smoke testsMode: shadow. The selection below is computed but not applied; this PR still runs the default matrix (
Selected scopes (80 files or classes, 375 tests)
Add the Playwright E2E testsThis run:
Add the commit |
Initial JS bundle size ➡️
|
Boot web vitals (no backend)Unauthenticated /login against the two dist/ trees from this job. No GMS — this is eager JS, not search/dataset payload. Lantern, desktop, 1x CPU. Does not forecast fleet p75; do not gate on LCP. Web-vitals A/B — base (ddd4ce5) (A) vs pr (af9ffd8) (B)Lighthouse 12.8.2, throttling simulate (cpu 1x, rtt 40 ms, 10240 kbps). Form factor: desktop. Cache: cold (fresh incognito context per run). target n=3/build, 1 warm-up discarded, alternating A,B. Boot-only (no GMS). Unauthenticated login route — eager JS/CSS/font transfer and parse, not search/dataset payload. Do not treat as a fleet p75.
|
| metric | A p50 | B p50 | Δ p50 | Δ% | A p95 | B p95 |
|---|---|---|---|---|---|---|
| fcp | 854 ms | 855 ms | 1 ms | +0.1% | 858 ms | 856 ms |
| lcp | 1311 ms | 1311 ms | 0 ms | +0.0% | 1317 ms | 1314 ms |
| cls | 0.0000 | 0.0000 | 0.0000 | — | 0.0000 | 0.0000 |
| tbt | 16 ms | 15 ms | -1 ms | -6.3% | 17 ms | 16 ms |
| tti | 1312 ms | 1313 ms | 1 ms | +0.0% | 1318 ms | 1315 ms |
| ttfb | 1 ms | 1 ms | 0 ms | -38.7% | 1 ms | 1 ms |
| transferredBytes | 1073.5 KB | 1073.5 KB | 0.0 KB | +0.0% | 1073.5 KB | 1073.5 KB |
| mainThread | 290 ms | 293 ms | 4 ms | +1.3% | 290 ms | 296 ms |
| bootup | 157 ms | 158 ms | 1 ms | +0.7% | 162 ms | 159 ms |
Resource transfer by type (p50):
| type | A bytes | B bytes | Δ bytes | A requests | B requests |
|---|---|---|---|---|---|
| document | 1.3 KB | 1.3 KB | 0.0 KB | 1 | 1 |
| script | 641.7 KB | 641.7 KB | 0.0 KB | 8 | 8 |
| stylesheet | 3.0 KB | 3.0 KB | 0.0 KB | 2 | 2 |
| image | 48.7 KB | 48.7 KB | 0.0 KB | 1 | 1 |
| media | 257.3 KB | 257.3 KB | 0.0 KB | 1 | 1 |
| font | 106.6 KB | 106.6 KB | 0.0 KB | 3 | 3 |
| other | 0.0 KB | 0.0 KB | 0.0 KB | 0 | 0 |
LCP element A: div > div.sc-fpAkvV > div.sc-pRPz > p.sc-pNWdM — Welcome to DataHub
LCP element B: div > div.sc-fpAkvV > div.sc-pRPz > p.sc-pNWdM — Welcome to DataHub
These numbers rank changes and gate regressions against the measured origin(s). They do not sum across PRs and do not forecast any fleet-wide production number.
…r a span processor in tests
Connector Tests ResultsConnector tests failed for commit To skip connector tests, add the Autogenerated by the connector-tests CI pipeline. |
Summary
Dependency bumps that clear CVE findings in the published quickstart images. Each one is a direct version bump of a dependency we declare or align in the build.
Java (
build.gradle+ Gradle lockfiles)org.apache.shiro:*org.postgresql:postgresqlio.opentelemetry:*org.apache.kerby:*net.minidev:json-smartAesCipherServiceinShiro2AesDataEncrypter. It compiles unchanged on 3.0.2.eachDependencyrule keeps allorg.apache.kerbymodules on one version, so they don't mix 2.0.3 and 2.1.2.Python (
metadata-ingestion)wcmatch<11.0.0→<13.0.0, locked 10.1 → 12.0.4 (bracex 2.6 → 3.2.4)GLOBSTARandDOTGLOBwithglobmatchandglob.compile. The breaking changes in wcmatch 11 and 12 affectEXTGLOB/!(...)patterns and the capture groups fromtranslate. We don't use either.pyproject.toml,uv.lockandconstraints.txtwere regenerated fromsetup.pywith:metadata-ingestion:updateLockFile, thenuv lock --upgrade-package wcmatch.Not in this PR
hazelcast-5.7.0.jar. Our own pins are already on fixed versions.parquet-jackson,graphql-java,iceberg-bundled-guavaandhadoop-shaded-guava.Testing
./gradlew resolveAndLockAll --write-locks(JDK 25): no unresolved configurations. json-smart 2.6.0 remains only in test classpaths.:datahub-frontend:testforAuthModuleTest,AuthenticationControllerTestandSerializationUtilsTest(covers the Shiro AES cookie encrypter): 52 tests, all pass.:metadata-ingestion:checkLockFile: pass.test_sql_import_isolation[...adf_source], which fails only because the local venv doesn't have the Azure Data Factory extra installed (No module named 'azure.mgmt').Summary by cubic
Bumps Java and Python dependencies to clear CVE findings in published quickstart images, with lockfiles regenerated accordingly. Shiro, PostgreSQL, OpenTelemetry, Kerby, json-smart, and wcmatch all move to newer fixed versions.
Notable side effects
org.apache.kerbymodules on one version.EXTGLOBandtranslate, which ingestion doesn't use.SimpleSpanProcessor;opentelemetry-api-incubatoris aligned to the SDK version.org.jsonCVEs are excluded because those jars are shaded insidehazelcast,parquet-jackson, and related libs.Written for commit af9ffd8. Summary will update on new commits.
OpenTelemetry 1.67 follow-ups
opentelemetry-api-incubatorships on its own-alphaline and was excluded from the OTel alignment rule, so it stayed at the 1.62 alpha. The 1.67 SDK calls into it, and that old incubator referencesio.opentelemetry.api.internal.ConfigUtil, which api 1.67 removed. Services then failed at startup withNoClassDefFoundError. A neweachDependencyrule aligns it to${openTelemetryVersion}-alpha(1.67.0-alpha).AspectDaoTestandElasticsearchControllerTestbuilt a bareSdkTracerProvider, so their spans became invalid. They now registerSimpleSpanProcessor.create(SpanExporter.composite()). Production is not affected, becauseOpenTelemetryBaseFactoryalways registers span processors.