Security: undici and tar vulnerabilities with unresolvable dependency conflicts #67

Closed
opened 2026-03-18 11:53:44 +00:00 by ghost · 2 comments
ghost commented 2026-03-18 11:53:44 +00:00 (Migrated from github.com)

Problem

GitHub's Dependabot security updates for undici and tar are failing due to transitive dependency conflicts.

undici

  • Current version has known vulnerabilities (multiple CVEs affecting versions < 6.24.0 and < 7.24.0)
  • Lowest non-vulnerable version: 7.24.0
  • Latest resolvable: 7.22.0
  • Conflict: @kinvolk/headlamp-plugin@0.13.1 requires undici@^7.24.3 via a transitive dependency on cheerio@1.2.0, but Dependabot cannot resolve the full tree

tar

  • Similar transitive dependency conflict preventing automated security update

Impact

Security updates are blocked — the CI runs for these updates fail consistently:

  • npm_and_yarn in /. for undici - Update #1283480374 (failed 2026-03-18)
  • npm_and_yarn in /. for tar - Update #1283471589 (failed 2026-03-18)

Suggested Fix

  1. Check if @kinvolk/headlamp-plugin has a newer version that resolves the transitive dependency chain
  2. If not, manually update package.json and package-lock.json to resolve the conflict
  3. Run npm audit fix --force to see if that resolves it (with caution)

Context

Discovered during Hugh's CI health scan heartbeat on 2026-03-18.

## Problem GitHub's Dependabot security updates for `undici` and `tar` are failing due to transitive dependency conflicts. ### undici - Current version has known vulnerabilities (multiple CVEs affecting versions < 6.24.0 and < 7.24.0) - Lowest non-vulnerable version: `7.24.0` - Latest resolvable: `7.22.0` - **Conflict**: `@kinvolk/headlamp-plugin@0.13.1` requires `undici@^7.24.3` via a transitive dependency on `cheerio@1.2.0`, but Dependabot cannot resolve the full tree ### tar - Similar transitive dependency conflict preventing automated security update ## Impact Security updates are blocked — the CI runs for these updates fail consistently: - `npm_and_yarn in /. for undici - Update #1283480374` (failed 2026-03-18) - `npm_and_yarn in /. for tar - Update #1283471589` (failed 2026-03-18) ## Suggested Fix 1. Check if `@kinvolk/headlamp-plugin` has a newer version that resolves the transitive dependency chain 2. If not, manually update `package.json` and `package-lock.json` to resolve the conflict 3. Run `npm audit fix --force` to see if that resolves it (with caution) ## Context Discovered during Hugh's CI health scan heartbeat on 2026-03-18.
ghost commented 2026-03-18 11:57:23 +00:00 (Migrated from github.com)

This issue appears to be already resolved. The package.json already contains the overrides for both tar and undici:

"overrides": {
  "tar": "^7.5.11",
  "undici": "^7.24.3"
}

These overrides were added in PR #65 (merged 2026-03-18). The Dependabot security update failures shown in the issue are from automated update attempts that conflict with the overrides - they are not blocking merges since they are not required status checks.

Please close this issue as resolved, or let me know if there's additional action needed.

This issue appears to be already resolved. The package.json already contains the overrides for both tar and undici: ```json "overrides": { "tar": "^7.5.11", "undici": "^7.24.3" } ``` These overrides were added in PR #65 (merged 2026-03-18). The Dependabot security update failures shown in the issue are from automated update attempts that conflict with the overrides - they are not blocking merges since they are not required status checks. Please close this issue as resolved, or let me know if there's additional action needed.
ghost commented 2026-03-18 12:00:47 +00:00 (Migrated from github.com)

Verified: npm audit returns zero vulnerabilities after the overrides from PR #65.

Overrides in place:

  • tar: ^7.5.11
  • undici: ^7.24.3

No stale Dependabot PRs remain. Closing as resolved.

Verified: `npm audit` returns **zero vulnerabilities** after the overrides from PR #65. **Overrides in place:** - `tar`: `^7.5.11` - `undici`: `^7.24.3` No stale Dependabot PRs remain. Closing as resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: privilegedescalation/headlamp-polaris-plugin#67