SvenWesterlaken / mongo4j

A mongoose plugin to automatically maintain nodes & relationships in neo4j
https://www.npmjs.com/package/mongo4j
MIT License
14 stars 4 forks source link

[Snyk] Security upgrade mongoose from 6.10.4 to 6.12.0 #142

Open SvenWesterlaken opened 6 months ago

SvenWesterlaken commented 6 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 - package-lock.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") | **589/1000**
**Why?** Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-FASTXMLPARSER-5668858](https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-5668858) | No | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: mongoose The new version differs by 197 commits.
  • eb34bd3 chore: release 6.12.0
  • ec74347 feat: use mongodb driver v4.17.1
  • 4f79ce2 Merge pull request #13770 from Automattic/vkarpov15/gh-13664-2
  • 17c31b7 fix(model): make Model.bulkWrite() with empty array and ordered false not throw an error
  • 0229ffd Merge pull request #13763 from Automattic/vkarpov15/gh-13720
  • 44f3f0d fix(document): correctly handle inclusive/exclusive projections when applying subdocument defaults
  • 0604133 chore: release 6.11.6
  • c1109ac Merge pull request #13723 from Automattic/IslandRhythms/backport-13515
  • 557a472 Update mongo.test.ts
  • bab0e9e Update package.json
  • 0ae1367 backport pull 13515
  • d4a1080 Merge pull request #13701 from JavaScriptBach/backport-bulkwrite
  • 6f5adfb lint
  • c520587 Backport empty bulkwrite fix #13684 to Mongoose v6
  • be5b7d5 chore: release 6.11.5
  • d5784d8 Merge pull request #13682 from Automattic/vkarpov15/gh-13626-2
  • 1a9f1b3 fix(document): correctly set index when casting subdocs for validation re: #13626
  • 622fa1c Merge pull request #13671 from Automattic/vkarpov15/gh-13626
  • d012888 fix(schema): make `Schema.prototype.clone()` avoid creating different copies of subdocuments and single nested paths underneath single nested paths
  • 0d17ccb Merge pull request #13637 from Automattic/IslandRhythms/gh-13364-backport
  • 1b09cb1 backported
  • 20b030e chore: release 6.11.4
  • 895bc32 Merge pull request #13614 from Automattic/vkarpov15/gh-13191-2
  • b8ebe80 perf: speed up mapOfSubdocs benchmark by 4x by avoiding unnecessary O(n^2) loop in getPathsToValidate()
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/svenwesterlaken/project/fb5a073e-fb45-40d8-b486-4950468e8c4e?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/svenwesterlaken/project/fb5a073e-fb45-40d8-b486-4950468e8c4e?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":"4bf5dd24-63fa-42f5-81bf-e29344b5120f","prPublicId":"4bf5dd24-63fa-42f5-81bf-e29344b5120f","dependencies":[{"name":"mongoose","from":"6.10.4","to":"6.12.0"}],"packageManager":"npm","projectPublicId":"fb5a073e-fb45-40d8-b486-4950468e8c4e","projectUrl":"https://app.snyk.io/org/svenwesterlaken/project/fb5a073e-fb45-40d8-b486-4950468e8c4e?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-FASTXMLPARSER-5668858"],"upgrade":["SNYK-JS-FASTXMLPARSER-5668858"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[589],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)