OpenTMI / opentmi

OpenTMI (Test Management Infrastructure) Core
MIT License
21 stars 6 forks source link

[Snyk] Security upgrade mongoose from 6.3.2 to 6.12.0 #742

Closed jupe closed 8 months ago

jupe 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
⚠️ Warning ``` Failed to update the package-lock.json, please update manually before merging. ```
#### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **496/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 4.2 | Information Exposure
[SNYK-JS-MONGODB-5871303](https://snyk.io/vuln/SNYK-JS-MONGODB-5871303) | 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 250 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/jupe/project/89137d2b-8d19-4840-b8f3-d0a8d93b8f9e?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/jupe/project/89137d2b-8d19-4840-b8f3-d0a8d93b8f9e?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":"7c742170-eb12-4b63-a182-bc885d524eb4","prPublicId":"7c742170-eb12-4b63-a182-bc885d524eb4","dependencies":[{"name":"mongoose","from":"6.3.2","to":"6.12.0"}],"packageManager":"npm","projectPublicId":"89137d2b-8d19-4840-b8f3-d0a8d93b8f9e","projectUrl":"https://app.snyk.io/org/jupe/project/89137d2b-8d19-4840-b8f3-d0a8d93b8f9e?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-MONGODB-5871303"],"upgrade":["SNYK-JS-MONGODB-5871303"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[496],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr)