🚨 [security] Update mongoose 5.13.22 → 8.8.3 (major) #475
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.
🚨 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 upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ mongoose (5.13.22 → 8.8.3) · Repo · Changelog
Security Advisories 🚨
🚨 Mongoose search injection vulnerability
🚨 Mongoose search injection vulnerability
🚨 Mongoose search injection vulnerability
🚨 Mongoose Prototype Pollution vulnerability
🚨 Mongoose Prototype Pollution vulnerability
🚨 Mongoose Vulnerable to Prototype Pollution in Schema Object
🚨 automattic/mongoose vulnerable to Prototype pollution via Schema.path
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 8 commits:
chore: release 8.8.3
Merge pull request #15055 from Automattic/vkarpov15/gh-15029
address code review comments
Merge branch 'vkarpov15/sift-where'
fix: disallow using $where in match
Merge pull request #15046 from Automattic/vkarpov15/gh-15040
perf: cache results from getAllSubdocs() on saveOptions, only loop through known subdoc properties
fix(model+query): support overwriteDiscriminatorKey for bulkWrite updateOne and updateMany, allow inferring discriminator key from update
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