sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.76k stars 1.58k forks source link

[Snyk] Security upgrade mongoose from 4.13.21 to 5.13.20 #836

Open saralaw1212 opened 11 months ago

saralaw1212 commented 11 months ago

This PR was automatically created by Snyk using the credentials of a real user.


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

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **798/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 8.1 | Prototype Pollution
[SNYK-JS-MONGOOSE-5777721](https://snyk.io/vuln/SNYK-JS-MONGOOSE-5777721) | 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.
  • 0f3997a chore: release 5.13.20
  • f1efabf fix: avoid prototype pollution on init
  • 98e0762 chore: release 5.13.19
  • 7e36d21 chore: release 5.13.18
  • 6759c60 undo accidental changes and actually pin @ types/json-schema
  • 4ed4a89 chore: pin version of @ types/json-schema because of install issues on node v4 and v6
  • 9a9536d Merge pull request #13535 from lorand-horvath/patch-12
  • 26424d5 5.x - bump mongodb driver to 3.7.4
  • 4b8b0a9 add versionNumber to 5.x
  • 1bc07ec chore: release 5.13.17
  • 3f827b3 Merge branch '5.x' of github.com:Automattic/mongoose into 5.x
  • eeabe5f chore: run CI tests on ubuntu 20.04 because 18.04 no longer supported
  • 14464d1 Merge pull request #13195 from raj-goguardian/gh-13192
  • 7e888e4 fix(update): handle $and & $or in array filters.
  • 5dd0a4e Merge pull request #13138 from rdeavila94/gh-13136
  • c8191da Update model.indexes.test.js
  • 7364264 Update model.indexes.test.js
  • 77b9d99 Updated the isIndexEqual function to take into account non-text indexes when checking compound indexes that include both text and non-text indexes
  • 9dd82be Merge pull request #13132 from rdeavila94/gh-12654
  • d0e149b Merge pull request #12737 from Automattic/vkarpov15/gh-12654
  • e76c41c chore: release 5.13.16
  • cdab11e chore: remove Node 5 and 7 from CI because GitHub actions is bugging out with them
  • e33a8be fix(types): add missing typedefs for bulkSave() to 5.x
  • 896cd76 Merge pull request #12692 from hasezoey/backportLinkUpdate
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](https://app.snyk.io/org/saralaw1212/project/36f96f7e-291b-4690-8bfc-fec98a5c7607?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/saralaw1212/project/36f96f7e-291b-4690-8bfc-fec98a5c7607?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"9c886948-c24a-44e6-9889-4d40e1b2ea2b","prPublicId":"9c886948-c24a-44e6-9889-4d40e1b2ea2b","dependencies":[{"name":"mongoose","from":"4.13.21","to":"5.13.20"}],"packageManager":"npm","projectPublicId":"36f96f7e-291b-4690-8bfc-fec98a5c7607","projectUrl":"https://app.snyk.io/org/saralaw1212/project/36f96f7e-291b-4690-8bfc-fec98a5c7607?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-MONGOOSE-5777721"],"upgrade":["SNYK-JS-MONGOOSE-5777721"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[798],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Prototype Pollution](https://learn.snyk.io/lesson/prototype-pollution/?loc=fix-pr)