-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
fix(deps): update dependency cookie to v0.7.0 [security] #856
Merged
Conversation
This file contains 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hi, is possible to merge this?, Im using iron-session as dependency but Im getting security alerts for vulnerability in the current version of cookie |
renovate
bot
force-pushed
the
renovate/npm-cookie-vulnerability
branch
from
October 18, 2024 23:14
02fd81b
to
de532b9
Compare
renovate
bot
force-pushed
the
renovate/npm-cookie-vulnerability
branch
from
October 19, 2024 15:12
de532b9
to
bd000d2
Compare
renovate
bot
force-pushed
the
renovate/npm-cookie-vulnerability
branch
from
October 21, 2024 15:42
bd000d2
to
d5f36a1
Compare
renovate
bot
force-pushed
the
renovate/npm-cookie-vulnerability
branch
from
October 21, 2024 23:27
d5f36a1
to
b0dbec8
Compare
renovate
bot
force-pushed
the
renovate/npm-cookie-vulnerability
branch
from
October 24, 2024 12:19
b0dbec8
to
5404418
Compare
renovate
bot
force-pushed
the
renovate/npm-cookie-vulnerability
branch
from
October 25, 2024 09:15
5404418
to
a7a1a15
Compare
renovate
bot
force-pushed
the
renovate/npm-cookie-vulnerability
branch
from
October 26, 2024 10:38
a7a1a15
to
9a861eb
Compare
renovate
bot
force-pushed
the
renovate/npm-cookie-vulnerability
branch
from
October 27, 2024 03:37
9a861eb
to
d20ff51
Compare
@vvo Seems like a non-breaking security patch. Is this something that can get merged? Tagging you for visibility. |
Thank you 🙇♂️ |
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.
This PR contains the following updates:
0.6.0
->0.7.0
GitHub Vulnerability Alerts
CVE-2024-47764
Impact
The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. For example,
serialize("userName=<script>alert('XSS3')</script>; Max-Age=2592000; a", value)
would result in"userName=<script>alert('XSS3')</script>; Max-Age=2592000; a=test"
, settinguserName
cookie to<script>
and ignoringvalue
.A similar escape can be used for
path
anddomain
, which could be abused to alter other fields of the cookie.Patches
Upgrade to 0.7.0, which updates the validation for
name
,path
, anddomain
.Workarounds
Avoid passing untrusted or arbitrary values for these fields, ensure they are set by the application instead of user input.
References
Release Notes
jshttp/cookie (cookie)
v0.7.0
: 0.7.0Compare Source
main
topackage.json
for rspack (#166 by @proudparrot2)Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.