[Snyk] Fix high severity vulnerabilities in docs dependencies #8720
+6
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Snyk Link: N/A (detected via npm audit)
Issue Type: High severity vulnerabilities
Priority: High
Summary: Fixed two high-severity vulnerabilities in the docs dependencies by upgrading axios and tar-fs to their patched versions.
Changes
Testing
Ran
npm auditafter fixes - 0 vulnerabilities found.Additional Context
Original Snyk Webhook Payload
{ "vulnerability": { "id": "3ad6663f-f319-4a75-9c25-f27655c49c32", "title": "Improper Authorization", "severity": "critical", "url": "https://security.snyk.io/vuln/SNYK-JS-NEXT-9508709", "description": "Improper Authorization", "cvssScore": 851, "packageName": "NVD", "isUpgradable": true, "isPatchable": false, "fixedIn": [], "upgradePath": [] }, "project": { "id": "fa857427-b8e5-4147-9913-8d56d6835b6d", "name": "continuedev/continue:docs/package.json", "origin": "github", "type": "npm" }, "remediationHints": { "canUpgrade": true, "canPatch": false, "upgradeToVersions": [], "upgradePath": [] } }Note: The Snyk webhook reported a Next.js vulnerability (SNYK-JS-NEXT-9508709), but investigation revealed that the
nextpackage is not present in this project's dependencies. Instead,npm auditidentified actual vulnerabilities in axios and tar-fs which have been fixed.This agent session was co-authored by peter-parker and Continue.
Summary by cubic
Upgraded docs dependencies to fix high-severity vulnerabilities in axios and tar-fs. npm audit now reports 0 vulnerabilities.
Written for commit 82f288e. Summary will update automatically on new commits.