-
-
Notifications
You must be signed in to change notification settings - Fork 638
Fix HIGH severity jws vulnerability (CVE-2023-35916) #2203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,7 +115,8 @@ | |
| "pnpm": { | ||
| "overrides": { | ||
| "sentry-testkit>body-parser": "npm:[email protected]", | ||
| "sentry-testkit>express": "npm:[email protected]" | ||
| "sentry-testkit>express": "npm:[email protected]", | ||
| "jws": "3.2.3" | ||
| } | ||
|
Comment on lines
+118
to
120
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add documentation explaining the security fix. The PR objectives indicate that documentation updates are incomplete. For a security vulnerability (CVE-2023-35916 - improper HMAC signature verification in node-jws), add documentation describing the vulnerability and how the jws 3.2.3 override mitigates it. Where should the security fix documentation be added (e.g., a SECURITY.md file, the README, or a docs directory)? 🤖 Prompt for AI AgentsAdd a CHANGELOG entry for the security vulnerability fix. The PR objectives indicate that the CHANGELOG entry is incomplete. A security vulnerability fix (CVE-2023-35916) must be documented in CHANGELOG.md. Based on learnings, use the format: Would you like me to generate the CHANGELOG entry following the documented format? 🤖 Prompt for AI Agents |
||
| } | ||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Seifeldin7 Keeping it as an override means that even if
jsonwebtokenis updated in a later PR and wants a laterjwsversion, it won't get updated automatically. Instead, my suggestion in such a case is to use overrides to update the lockfile and then restore the original package.json. The new lockfile should still satisfy it.You could make the override something like
>=3.2.3but I think that has its own problems.If overrides influenced our clients' resolution, it would be different, but I believe they don't.