rithinch / event-driven-microservices-docker-example

šŸ³ Simple example of event driven communication between microservices, based on Docker containers, Docker Compose and RabbitMQ. Microservices are implemented in Node.js using Koa.
MIT License
250 stars 87 forks source link

[Snyk] Security upgrade mongoose from 5.9.26 to 6.4.6 #35

Open rithinch opened 2 years ago

rithinch commented 2 years 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.

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=mongoose&from_version=5.9.26&to_version=6.4.6&pr_id=fad34943-f7db-49c2-ae25-fd9410da9a06&visibility=true&has_feature_flag=false) #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - services/authentication/package.json - services/authentication/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") | **743/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7 | Prototype Pollution
[SNYK-JS-MONGOOSE-2961688](https://snyk.io/vuln/SNYK-JS-MONGOOSE-2961688) | 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.
  • 5449ab9 chore: release 6.4.6
  • b8c99cf Merge pull request #11892 from Automattic/netlify-functions-example
  • 2751883 fix tests
  • eced2c7 Merge branch 'master' into netlify-functions-example
  • 92cb6fb Merge branch 'master' into vkarpov15/gh-12085
  • 422f9da test(schema): add coverage for calling `plugin()` with options
  • 2262a77 fix(document): avoid mutating original object passed to $set() when applying defaults to nested properties
  • 2e6b064 made requested changes
  • b70a0dc Merge pull request #12123 from LokeshKanumoori/patch-1
  • 086bd9f fix(query): apply lean transform option to top-level document
  • 1344214 Update migrating_to_6.md
  • a45cfb6 fix(schema): disallow setting __proto__ when creating schema with dotted properties
  • bc302f4 chore: release 6.4.5
  • 44530a6 Merge pull request #12116 from Automattic/revert-12103-upgrade-mongo-driver
  • 80b7d53 Revert "chore: upgrade mongodb driver to 4.8.0"
  • 0156d5e style: fix lint
  • 9524f89 fix(types): make `$addToSet` fields mutable to allow programatically constructing $addToSet
  • 201071b fix(types): allow any value for AddFields
  • 5301deb fix: cleanup and various updates
  • 118c97a Merge branch 'master' into netlify-functions-example
  • 1306d00 Merge pull request #12086 from hasezoey/modelJSDOCTouchup
  • f95373d Merge pull request #12110 from skrtheboss/fix/is-atlas-check
  • 1445c20 Merge pull request #12112 from pathei-kosmos/master
  • 250b01b fix(types): avoid treating `| undefined` types as `any` in `Require_id` to better support `_id: String` with auto-typed schemas
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/rithinch/project/d6229fd1-2b3a-4ead-bc15-65dbf8f73da0?utm_source=github&utm_medium=referral&page=fix-pr) šŸ›  [Adjust project settings](https://app.snyk.io/org/rithinch/project/d6229fd1-2b3a-4ead-bc15-65dbf8f73da0?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":"fad34943-f7db-49c2-ae25-fd9410da9a06","prPublicId":"fad34943-f7db-49c2-ae25-fd9410da9a06","dependencies":[{"name":"mongoose","from":"5.9.26","to":"6.4.6"}],"packageManager":"npm","projectPublicId":"d6229fd1-2b3a-4ead-bc15-65dbf8f73da0","projectUrl":"https://app.snyk.io/org/rithinch/project/d6229fd1-2b3a-4ead-bc15-65dbf8f73da0?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-MONGOOSE-2961688"],"upgrade":["SNYK-JS-MONGOOSE-2961688"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[743]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** šŸ¦‰ [Prototype Pollution](https://learn.snyk.io/lessons/prototype-pollution/javascript?loc=fix-pr)
sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication