fix: Resolve frontend security vulnerabilities in lodash and lodash-es#27105
fix: Resolve frontend security vulnerabilities in lodash and lodash-es#27105harsh-vador merged 4 commits intomainfrom
Conversation
🟡 Playwright Results — all passed (28 flaky)✅ 3590 passed · ❌ 0 failed · 🟡 28 flaky · ⏭️ 207 skipped
🟡 28 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 |
Code Review ✅ Approved 1 resolved / 1 findingsUpgrades lodash and lodash-es to 4.18.1 across all workspaces to resolve frontend security vulnerabilities. No issues found. ✅ 1 resolved✅ Security: lodash-es resolution downgraded from >=4.18.1 to 4.18.0
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
|
Failed to cherry-pick changes to the 1.12.5 branch. |
open-metadata#27105) * fix: Resolve frontend security vulnerabilities in lodash and lodash-es * fix(security): bump lodash and lodash-es to 4.18.1 across all workspaces
open-metadata#27105) * fix: Resolve frontend security vulnerabilities in lodash and lodash-es * fix(security): bump lodash and lodash-es to 4.18.1 across all workspaces



Describe your changes:
Summary
Resolves Dependabot security alerts UI should show the data profiler metadata in dataset page #359, Add Salesforce connector #360, MSSQL sample data generation is running into SQL syntax errors #361, Remove serviceType as a configuration option from workflow configs. Each connector can hard-code the serviceType instead of making it as a configurable option #363, Changing Tier on topic does not replace the previously selected Tier #365, Add topic details page #366.
CVE (Code Injection): lodash
_.templatedid not validateoptions.importskey names, allowing arbitrary code execution at template compile time (CVSS 8.1 / High)CVE (Prototype Pollution): lodash
_.unset/_.omitcould be bypassed via array-wrapped path segments to delete properties from built-in prototypes (CVSS 6.5 / Moderate)Both are patched in lodash ≥ 4.18.0.
Changes
openmetadata-ui/src/main/resources/ui4.18.0, lodash-es4.18.04.18.1, lodash-es4.18.1openmetadata-ui-core-components/src/main/resources/ui4.17.23(blocked byvite-plugin-dts → @microsoft/api-extractor)4.18.1via resolutions override4.17.23(viaquicktype@20.0.27)4.18.1via resolutions overrideresolutions: { "lodash": "4.18.1" }to rootpackage.jsonto override the transitive constraint fromquicktype"lodash": "4.18.1"to the resolutions block inopenmetadata-ui-core-componentspackage.jsonto override thelodash@~4.17.23constraint fromvite-plugin-dts@4.5.4 → @microsoft/api-extractor@7.57.6openmetadata-uifrom4.18.0→4.18.1Type of change:
Checklist:
Fixes <issue-number>: <short explanation>