Skip to content

fix(security): patch dependency vulnerabilities in UI core components - #26350

Merged
harsh-vador merged 2 commits into
mainfrom
fix-mimimatch-core-vulnerability
Mar 10, 2026
Merged

harsh-vador merged 2 commits into
mainfrom
fix-mimimatch-core-vulnerability

Conversation

@harsh-vador

Copy link
Copy Markdown
Contributor

Describe your changes:

Summary

Manually patches three transitive npm vulnerabilities that Dependabot cannot auto-fix due to conflicting dependency constraints.

Vulnerabilities Fixed

Alert Package Affected Patched Location
#307, #309 minimatch (10.x ReDoS) >= 10.0.0, < 10.2.3 10.2.3 openmetadata-ui-core-components

How each fix works

minimatch 10.x (openmetadata-ui-core-components)

  • Root cause: vite-plugin-dts → @microsoft/[email protected] pins minimatch "10.2.1" (exact, not a range) in its published package.json
  • Fix: Added "@microsoft/api-extractor/minimatch": "10.2.3" scoped resolution + merged [email protected] and [email protected] lockfile entries to both resolve to 10.2.3
  • Note: minimatch "10.2.1" still appears as a declared dependency inside the @microsoft/api-extractor block — this is expected; it is registry metadata that cannot be changed without upgrading the package itself.
    The resolved/installed version is 10.2.3.

Changes

openmetadata-ui-core-components/src/main/resources/ui/

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@gitar-bot

gitar-bot Bot commented Mar 9, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

Patches dependency vulnerabilities in UI core components by updating minimatch and related dependencies. No issues found.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@harsh-vador
harsh-vador merged commit 55ce221 into main Mar 10, 2026
29 of 30 checks passed
@harsh-vador
harsh-vador deleted the fix-mimimatch-core-vulnerability branch March 10, 2026 04:37
@github-actions

Copy link
Copy Markdown
Contributor

Failed to cherry-pick changes to the 1.12.2 branch.
Please cherry-pick the changes manually.
You can find more details here.

harsh-vador added a commit that referenced this pull request Mar 16, 2026
…#26350)

* fix(security): patch  dependency vulnerabilities in UI core components

* address comment

(cherry picked from commit 55ce221)

This branch was previously deployed

1 inactive deployment
test — fd734ec9 Deployed Mar 9, 2026 by harsh-vador via playwright-ci-postgresql (5, 6) #36541
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs To release Will cherry-pick this PR into the release branch UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants