Skip to content
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

[Snyk] Security upgrade mongoose from 4.2.4 to 5.7.3 #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Apr 7, 2022

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

merge advice

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json
    • package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 768/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-ASYNC-2441827
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: mongoose The new version differs by 250 commits.
  • 43b63ae chore: release 5.7.3
  • 06112b0 docs(validation): remove deprecated `isAsync` from validation docs in favor of emphasizing promises
  • 7fee719 docs(documents): add overwriting section
  • 98b5a73 fix: make CoreMongooseArray#includes() handle `fromIndex` parameter
  • 6c91dea style: fix lint
  • 9bb4b03 refactor: remove async as a prod dependency
  • 3647292 refactor(cursor): remove async.queue() from eachAsync() re: #8073 #5502
  • e60db1b refactor(cursor): remove dependency on async.times()
  • c5b2355 docs(promises): add note about queries being thenable
  • da77b8d Merge pull request #8192 from birdofpreyru/fix-8093-1
  • c371500 fix(update): cast right hand side of `$pull` as a query instead of an update for document arrays
  • 9d455ad test(update): repro #8166
  • 8c98a3a chore: now working on 5.7.3
  • 0a33412 fix(populate): handle virtual populate of an embedded discriminator nested path
  • b42d0f5 test(populate): repro #8173 #6488
  • 1db5982 docs: link to map blog post
  • c76e062 Fixes the previous commit
  • 1a01713 [#8093] Fixes performance of update validator, and flatten function logic
  • dea0b95 chore: release 5.7.2
  • fb0bd0d fix(populate): avoid converting mixed paths into arrays if populating an object path under `Mixed`
  • bdfce8f docs: add mongoosejs-cli to readme
  • e2d191a fix(discriminator): support `tiedValue` parameter for embedded discriminators analagous to top-level discriminators
  • d8cc819 test: fix tests
  • 952120a fix(query): handle `toConstructor()` with entries-style sort syntax

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Prototype Pollution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant