fix(security): Update vulnerable Node.js dependencies (cross-spawn, glob, tar) #179

Closed
opened 2026-02-01 23:55:08 +00:00 by jason.woltje · 0 comments
Owner

Summary

Trivy scan identified HIGH severity vulnerabilities in Node.js dependencies affecting both API and Web images.

Affected Packages

Package Current Fixed CVEs
cross-spawn 7.0.3 7.0.5 CVE-2024-21538
glob 10.4.2, 10.4.5 10.5.0 or 11.1.0 CVE-2025-64756
tar 6.2.1, 7.5.1 7.5.7 CVE-2026-23745, CVE-2026-23950, CVE-2026-24842

Affected Images

  • mosaic/api
  • mosaic/web

Remediation

  1. Run pnpm update cross-spawn glob tar in project root
  2. If major version changes are needed, update package.json manually
  3. Rebuild and push images
  4. Verify vulnerabilities are resolved in Harbor

Priority

HIGH - These are production images with known vulnerabilities.

## Summary Trivy scan identified HIGH severity vulnerabilities in Node.js dependencies affecting both API and Web images. ## Affected Packages | Package | Current | Fixed | CVEs | |---------|---------|-------|------| | cross-spawn | 7.0.3 | 7.0.5 | CVE-2024-21538 | | glob | 10.4.2, 10.4.5 | 10.5.0 or 11.1.0 | CVE-2025-64756 | | tar | 6.2.1, 7.5.1 | 7.5.7 | CVE-2026-23745, CVE-2026-23950, CVE-2026-24842 | ## Affected Images - mosaic/api - mosaic/web ## Remediation 1. Run pnpm update cross-spawn glob tar in project root 2. If major version changes are needed, update package.json manually 3. Rebuild and push images 4. Verify vulnerabilities are resolved in Harbor ## Priority HIGH - These are production images with known vulnerabilities.
jason.woltje added the security label 2026-02-01 23:55:08 +00:00
jason.woltje added this to the M4.2-Infrastructure (0.0.4) milestone 2026-02-01 23:57:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#179