-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update dependency cookie to ^0.7.0 [SECURITY] #623
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/npm-cookie-vulnerability
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
38211da
to
846017d
Compare
846017d
to
914cd56
Compare
914cd56
to
cba9f81
Compare
61550b5
to
870b87e
Compare
870b87e
to
7b8bf34
Compare
7b8bf34
to
6877efc
Compare
6877efc
to
52c07c0
Compare
52c07c0
to
75e5a2e
Compare
75e5a2e
to
6816e52
Compare
6816e52
to
49d8771
Compare
49d8771
to
a6df402
Compare
a6df402
to
bd49c00
Compare
bd49c00
to
a4bfc89
Compare
a4bfc89
to
6709455
Compare
6709455
to
211823f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0 participants
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.3.1
->^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)v0.6.0
Compare Source
==================
partitioned
optionv0.5.0
Compare Source
==================
priority
optionexpires
option to reject invalid datesv0.4.2
Compare Source
==================
v0.4.1
Compare Source
==================
maxAge
option to reject invalid valuesv0.4.0
: 0.4.0Compare Source
SameSite=None
supportConfiguration
📅 Schedule: Branch creation - "" in timezone Europe/London, 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.