🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
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", setting userName cookie to <script> and ignoring value.
A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie.
Patches
Upgrade to 0.7.0, which updates the validation for name, path, and domain.
Workarounds
Avoid passing untrusted or arbitrary values for these fields, ensure they are set by the application instead of user input.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ cookie-parser (1.4.6 → 1.4.7) · Repo · Changelog
Release Notes
1.4.7
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 12 commits:
1.4.7
deps: cookie@0.7.2 (#116)
ci: Use GITHUB_OUTPUT envvar instead of set-output command (#100)
ci: fix errors in ci pipeline for node 8 and 9 (#104)
ci: add support for OSSF scorecard reporting (#103)
build: Node.js@17.6
build: Node.js@14.19
build: Node.js@16.14
deps: cookie@0.4.2
build: mocha@9.2.1
build: Node.js@17.3
build: use supertest@3.4.2 for Node.js 6.x
↗️ cookie (indirect, 0.4.1 → 0.7.2) · Repo · Changelog
Security Advisories 🚨
🚨 cookie accepts cookie name, path, and domain with out of bounds characters
Release Notes
0.7.2
0.7.1
0.7.0
0.6.0 (from changelog)
0.5.0
0.4.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands