Skip to content

fix(security): patch undici and serialize-javascript on 2.0 (backport #36199) - #36201

Merged
harsh-vador merged 1 commit into
2.0from
fix/dependabot-undici-serialize-2.0
Oct 26, 2026
Merged

harsh-vador merged 1 commit into
2.0from
fix/dependabot-undici-serialize-2.0

Conversation

@harsh-vador

@harsh-vador harsh-vador commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Part of open-metadata/openmetadata-collate#7792. Backports #36199 to 2.0. Only openmetadata-ui's package ranges and lockfile blocks change. No source files change.

Package 2.0 before → after Advisories Where
undici 6.28.0 → 6.29.1 GHSA-xjj6-f33q-929c (high) openmetadata-ui (dev tooling)
serialize-javascript 7.0.5 → 7.1.4 GHSA-m5mm-p8h7-m29v (low) openmetadata-ui resolution

Smaller than #36199: fast-uri is already 3.1.9 in both UIs on 2.0, and ui-core-components on 2.0 has no undici 7. serialize-javascript's only consumer is oidc-client, and its shipped bundles (lib/oidc-client*.js) never reference it, so it does not reach the browser.

Companion Collate backport: open-metadata/openmetadata-collate#7849. Each repo resolves its own node_modules, so neither PR depends on the other to merge.

Type of change:

  • Bug fix

High-level design:

N/A, small change.

Tests:

Use cases covered

  • Dependency resolution only. No source file changes.

Unit tests

  • No new tests: no source changed.
  • Lockfile: regenerated with yarn install (yarn 1.22.22). Only the undici and serialize-javascript blocks change. yarn install --frozen-lockfile from an empty node_modules passes and installs undici 6.29.1 and serialize-javascript 7.1.4. The install ran with --ignore-engines, because the newest node 22 on my machine is below the >=22.23.4 engine; that changes no resolution.
  • openmetadata-ui Jest, Ajv and RJSF form suites (FormBuilderV1, ConnectionConfigForm.schema-render, McpApplicationConfiguration): 38/38 passed, the same as before.

Backend integration tests

  • Not applicable (no backend API changes).

Playwright (UI) tests

Not run. undici is dev tooling, and serialize-javascript never reaches the bundle. 2.0 has no Playwright impact planner.

Manual testing performed

N/A, no runtime code path changes.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

This dependency-only change appears safe to merge.

Summary

Updates two UI dependency resolutions and their matching lockfile entries.

  • The UI resolves two packages to newer patched versions.

Reviews (1) · Last reviewed commit: "fix(security): patch undici and serializ..." · Reviewed by Greptile

…6199)

- openmetadata-ui: undici ^6.28.0 -> ^6.29.1 and serialize-javascript
  7.0.5 -> 7.1.4. fast-uri is already 3.1.9 on 2.0.
@harsh-vador
harsh-vador requested a review from a team as a code owner October 26, 2026 05:54
@harsh-vador
harsh-vador requested review from shah-harshit and removed request for a team October 26, 2026 05:54
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@github-actions github-actions Bot added the UI UI specific issues label Oct 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@gitar-bot

gitar-bot Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Updating UI dependency resolutions to patched undici and serialize-javascript versions could disrupt dependency installation or tooling, though no source or shipped bundle changes.

Patches undici to 6.29.1 and serialize-javascript to 7.1.4 in openmetadata-ui via lockfile and package range updates, backporting the fix to 2.0 with no source changes. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@harsh-vador harsh-vador added the safe to test Add this label to run secure Github workflows on PRs label Oct 26, 2026
@harsh-vador harsh-vador self-assigned this Oct 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 68%
68.33% (83016/121482) 53.23% (51422/96590) 53.98% (15299/28339)

@sonarqubecloud

Copy link
Copy Markdown

@harsh-vador
harsh-vador merged commit 51fedee into 2.0 Oct 26, 2026
99 of 110 checks passed
@harsh-vador
harsh-vador deleted the fix/dependabot-undici-serialize-2.0 branch October 26, 2026 07:22

This branch was previously deployed

1 inactive deployment
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 UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants