Skip to content

fix: resolve Snyk high vulnerabilities — bump deps + nanoid override - #83

Merged
cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20260826
Aug 27, 2026
Merged

fix: resolve Snyk high vulnerabilities — bump deps + nanoid override#83
cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20260826

Conversation

@cs-raj

@cs-raj cs-raj commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Resolves all 2 high-severity npm audit vulnerabilities. Root cause: nanoid <3.3.18 (GHSA-2v37-7h3g-55p8) pulled in transitively via postcss.

Changes

Direct dependency upgrades

Package Before After
@contentstack/delivery-sdk ^5.5.0 ^5.6.0
@contentstack/live-preview-utils ^4.4.5 ^4.5.0
nuxt ^4.5.1 ^4.5.2
vue ^3.5.40 ^3.5.41

Overrides added

Package Version Fixes
nanoid 3.3.18 GHSA-2v37-7h3g-55p8 (custom generators loop when size=0)

Package version bump

1.1.41.1.5

Vulnerability diff

Severity Before After Fixed
Critical 0 0
High 2 0 ✓ 2
Moderate 0 0
Low 0 0

Remaining issues

  • Snyk SCA medium (44): All are LGPL-3.0 license findings from @img/sharp-libvips-* — not security vulnerabilities; require a licence review decision, not a dep change.
  • Snyk Code (5): Static source-level findings (1 high hardcoded secret, 2 medium HTTP usage, 2 low hardcoded strings) — unaffected by dependency updates, need source fixes.

🤖 Generated with Claude Code

Direct dep upgrades:
  @contentstack/delivery-sdk  ^5.5.0 → ^5.6.0
  @contentstack/live-preview-utils  ^4.4.5 → ^4.5.0
  nuxt  ^4.5.1 → ^4.5.2
  vue  ^3.5.40 → ^3.5.41

Overrides added:
  nanoid  3.3.18  (fixes GHSA-2v37-7h3g-55p8, transitive via postcss)

Package version: 1.1.4 → 1.1.5
Vuln count: 2 high (before) → 0 (after).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cs-raj
cs-raj requested a review from a team as a code owner August 26, 2026 10:07
@snyk-io

snyk-io Bot commented Aug 26, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 44 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 44
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit cc4e8ad into main Aug 27, 2026
7 checks passed
@cs-raj
cs-raj deleted the fix/snyk-patch-deps-20260826 branch August 27, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants