Repository navigation
fix(security): bump postcss and brace-expansion resolutions in ui-core-components - #30613
Conversation
…e-components Clears three open Dependabot advisories in the ui-core-components workspace that are resolvable by a resolution bump alone: - postcss 8.5.10 -> 8.5.18 - GHSA-r28c-9q8g-f849 (high): path traversal via sourceMappingURL auto-loading, arbitrary .map file disclosure. Patched in 8.5.18. - GHSA-6g55-p6wh-862q / CVE-2026-45623 (high): arbitrary file read via attacker-controlled sourceMappingURL in CSS comments. Patched in 8.5.12. - brace-expansion 5.0.7 -> 5.0.8 - GHSA-mh99-v99m-4gvg / CVE-2026-14257 (high): DoS via unbounded expansion length causing an out-of-memory crash. Patched in 5.0.8. openmetadata-ui was already moved to postcss 8.5.18 in #30482; this brings ui-core-components in line. Co-Authored-By: Claude <[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 |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
✅ Playwright Results — workflow succeededValidated commit ✅ 65 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 3 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) 38m 37s ⏱️ Max setup 1m 33s · max shard execution 7m 18s · max shard-job elapsed before upload 10m 22s · reporting 2s 🌐 148.18 requests/attempt · 1.73 app boots/UI scenario · 0.00% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Code Review ✅ ApprovedBumps postcss and brace-expansion resolutions in ui-core-components to patch three high-severity security advisories. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar | Powered by Gitar — free for open source |
…e-components (open-metadata#30613) Clears three open Dependabot advisories in the ui-core-components workspace that are resolvable by a resolution bump alone: - postcss 8.5.10 -> 8.5.18 - GHSA-r28c-9q8g-f849 (high): path traversal via sourceMappingURL auto-loading, arbitrary .map file disclosure. Patched in 8.5.18. - GHSA-6g55-p6wh-862q / CVE-2026-45623 (high): arbitrary file read via attacker-controlled sourceMappingURL in CSS comments. Patched in 8.5.12. - brace-expansion 5.0.7 -> 5.0.8 - GHSA-mh99-v99m-4gvg / CVE-2026-14257 (high): DoS via unbounded expansion length causing an out-of-memory crash. Patched in 5.0.8. openmetadata-ui was already moved to postcss 8.5.18 in open-metadata#30482; this brings ui-core-components in line. Co-authored-by: Claude <[email protected]>
What
Bumps two pinned
resolutionsinopenmetadata-ui-core-components/src/main/resources/ui/package.json, clearing the three open Dependabot advisories in that workspace that are fixable by a resolution bump alone.postcsssourceMappingURLauto-loading → arbitrary.mapfile disclosure (patched 8.5.18)postcsssourceMappingURLin CSS comments (patched 8.5.12)brace-expansionopenmetadata-uiwas already moved topostcss8.5.18 in #30482 (alerts #673/#678 closed). This bringsui-core-componentsin line — it was missed in that sweep and is still on the pin introduced by #30318.Both are build-time/dev-scope dependencies (Tailwind v4 → Vite CSS pipeline, and
[email protected]'s expansion engine respectively), so there is no runtime surface change.Diff
package.json:"resolutions": { - "brace-expansion": "5.0.7", + "brace-expansion": "5.0.8", "fast-uri": "3.1.4", "lodash": "4.18.1", "minimatch": "10.2.3", - "postcss": "8.5.10", + "postcss": "8.5.18",yarn.lockwas regenerated withyarn install; the diff is limited to the two entries above pluspostcss's transitivenanoid ^3.3.11 → ^3.3.12. No other package moved.Verification
Installed versions resolve as intended and the library builds cleanly:
Collate build impact — verified unchanged
ui-core-componentssits directly in the Collate build path, so this was checked end to end:collate-ui/pom.xml(initializephase) →make prepare_collate-ui→cd OpenMetadata/openmetadata-ui/src/main/resources/ui && yarn installopenmetadata-ui'spreinstall:cd ../../../../.. && yarn install --frozen-lockfile && cd openmetadata-ui-core-components/src/main/resources/ui && yarn install && yarn buildcollate-ui's vite config aliases@openmetadata/ui-core-components→OpenMetadata/openmetadata-ui-core-components/src/main/resources/ui/dist/index.esThe built artifacts are byte-for-byte identical before and after the bump.
dist/was built from theorigin/mainpins (postcss 8.5.10 / brace-expansion 5.0.7), then rebuilt from this PR's pins (8.5.18 / 5.0.8):dist/ui-core-components.css9bad0dd30e04b74145bc0de37796b76d4840f16e5b255dbdce59a57048d9908adist/index.es.jsa560e4c1d2225f0e767acc71ddb8fc761af036829729a00e75a6650fd5520ba6dist/checkbox-icons.es.jscab2532724d5d5be7cb8c34fd8de75e0c5e68b183c78652ad47f3b71d9e3a40cdist/components/index.es.js740d7c6635a7562a37715bc411a62d2c8e5afffd6424e1c33f549ef9182781ccThere is also no dependency-graph bleed into Collate.
collate-ui'syarn.lockrecords the library as:The
link:protocol pulls in zero transitive dependencies, so these resolutions stay insideui-core-components' ownnode_modulesand cannot collide withcollate-ui's ownpostcss/brace-expansionpins. Collate's default branch is already on postcss 8.5.23 — ahead of where this PR putsui-core-components.The root
yarn install --frozen-lockfilestep also passes unchanged, as this PR touches neither the rootpackage.jsonnor the rootyarn.lock.Not included (deliberately)
These remaining open front-end alerts are not fixable by a resolution bump and are out of scope here:
brace-expansion1.1.16 inopenmetadata-ui(alert Wrong service type error #680, runtime) and the rootyarn.lock(Add support for Pipeline Entity handling in eventHandlers #681) — same advisory, but the only patched version is 5.0.8 and the 1.x maintenance line has no backport. Those workspaces pin 1.x deliberately (Fix yarn dependency vulnerabilities #30318) because theirminimatchtrees are on 1.x/3.x, so bumping to 5.x is a major-version change, not a pin edit.react-router/react-router-dom6.30.4 (Integration for Pipeline services #674, #675, OpenMetadata and its place amongst Data Mesh concepts #676) — no 6.x patch exists for any of the three; all require a v6 → v7 major migration. Note Integration for Pipeline services #674 (deserializeErrorsconstructor injection) needs a data router with SSR hydration;AppRoot.tsxuses plain<BrowserRouter>with nohydrateRoot, so that path is not reachable.showdown2.1.0 (Fix #365: Changing Tier on topic does not replace the previously selected Tier #387) andquill2.0.3 (Fix #317: Ingestion bug introduced due to auth_token #318) — both are the latest published releases; there is no upstream fix to move to.All of the above are present identically on
mainand2.0.🤖 Generated with Claude Code
Greptile Summary
Updates security-related dependency resolutions in the UI core-components workspace.
postcssfrom 8.5.10 to 8.5.18.brace-expansionfrom 5.0.7 to 5.0.8.nanoidupdate.Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Reviews (2): Last reviewed commit: "Merge branch 'main' into frontend-depend..." | Re-trigger Greptile