fix(deps): upgrade snyk devDependency to ^1.1307.0 to remove parse-url 5.0.1 — CVE-2022-2216 (SSRF) - #274
Open
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…rl 5.0.1 (CVE-2022-2216) Removes snyk > git-url-parse > git-up > parse-url chain (SSRF, critical 9.4). Modern snyk CLI is a single binary wrapper and no longer depends on git-url-parse. Co-Authored-By: sumit.shatwara <sumitshatwara@gmail.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Remediates Server-side Request Forgery (SSRF) in
parse-url@5.0.1(SNYK-JS-PARSEURL-2936249/ CVE-2022-2216, severity Critical, CVSS 9.4). The vulnerable package is reachable only through the dev dependencysnyk@1.278.1 > git-url-parse@11.1.2 > git-up@4.0.1 > parse-url@5.0.1; no in-rangeparse-urlupdate is available for that chain, so the fix is to move thesnykCLI to a modern release, which no longer depends ongit-url-parseat all.parse-url< 6.0.1 — Fixed in:6.0.1. After this changeparse-url,git-upandgit-url-parseare no longer in the dependency graph.snyk@1.1307.0was published 2026-08-26 (>7 days ago). The current CLI is a thin npm wrapper around a downloaded binary, so this also shrinksnode_modulesby ~600 packages (removes several other outdated transitive deps).npm test(snyk test) keeps working with the new CLI; the old1.278.1also triggered a Snyk CLI self-update warning.Files changed:
package.json,package-lock.json(snyk subtree swap; 78 added / 674 removed packages).Verification:
npm ciclean;npx snyk --version→1.1307.0; 30/30 end-to-end regression checks pass (app runtime code untouched — dev dependency only).Scan reference: Snyk MCP
snyk_sca_scan(org9e26acce-22c7-4efc-b470-21d9587f49fe) onmain@d240896, 2026-09-10.Devin-Org: engineering
Link to Devin session: https://app.devin.ai/sessions/0b602fbece0246d2a263a9d20b275733
Open in Devin Desktop: https://app.devin.ai/desktop/session/0b602fbece0246d2a263a9d20b275733?variant=devin
Requested by: @sumitshatwara