[Snyk] Security upgrade @modelcontextprotocol/sdk from 1.5.0 to 1.25.2#18
[Snyk] Security upgrade @modelcontextprotocol/sdk from 1.5.0 to 1.25.2#18
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802
There was a problem hiding this comment.
Pull request overview
This PR upgrades the @modelcontextprotocol/sdk dependency from version 1.5.0 to 1.25.2 to address a high-severity Regular Expression Denial of Service (ReDoS) vulnerability (SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802) with a severity score of 828/1000.
Changes:
- Updated
@modelcontextprotocol/sdkfrom ^1.5.0 to ^1.25.2 in package.json
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "@meteora-ag/alpha-vault": "^1.1.7", | ||
| "@meteora-ag/dlmm": "^1.3.0", | ||
| "@modelcontextprotocol/sdk": "^1.5.0", | ||
| "@modelcontextprotocol/sdk": "^1.25.2", |
There was a problem hiding this comment.
The pnpm-lock.yaml file needs to be updated to complete this security upgrade. The PR description indicates that the lock file update failed, which means the actual installed version will still be 1.5.0 (as shown in the lock file) despite the package.json change to 1.25.2.
To fix this issue:
- Run
pnpm installorpnpm update @modelcontextprotocol/sdk@^1.25.2locally - Commit the updated pnpm-lock.yaml file
- Ensure the lock file reflects version 1.25.2 for @modelcontextprotocol/sdk
Without updating the lock file, the security vulnerability (SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802) will NOT be fixed.
Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.
Snyk changed the following file(s):
package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)