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 85 forks source link

[Snyk] Security upgrade nodemailer from 4.7.0 to 6.9.9 #59

Open rithinch opened 9 months ago

rithinch commented 9 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: - services/notification/package.json #### 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") | **658/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-NODEMAILER-6219989](https://snyk.io/vuln/SNYK-JS-NODEMAILER-6219989) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: nodemailer The new version differs by 185 commits.
  • 5a2e10f chore(master): release 6.9.9 [skip-ci] (#1606)
  • dd8f5e8 fix(security): Fix issues described in GHSA-9h6g-pr28-7cqp. Do not use eternal matching pattern if only a few occurences are expected
  • 2c2b46a chore: do not use caret in version specifier
  • be45c1b fix(tests): Use native node test runner, added code coverage support, removed grunt (#1604)
  • 4233f6f chore(master): release 6.9.8 [skip-ci] (#1605)
  • 09d502f chore: removed double file
  • b4d0e0c fix(punycode): do not use native punycode module
  • 8376c02 Test new github notice syntax for README
  • bc46a3b Updated stale github action
  • 78bdaf8 chore: remove redundant AWS SDK for JavaScript v2 (#1593)
  • 971ced7 chore: add mailcatch.app to well-known/services.json (#1586)
  • 879e562 chore(master): release 6.9.7 [skip-ci] (#1585)
  • 140e3b0 Merge branch 'master' of github.com:nodemailer/nodemailer
  • 41d482c fix(customAuth): Do not require user and pass to be set for custom authentication schemes (fixes #1584)
  • 20e9fe0 update - `services.json` - add SES SMTP endpoints for the AP region (#1580)
  • 9da77b6 chore(master): release 6.9.6 [skip-ci] (#1578)
  • 7fe0a60 fix(tests): Removed Node v12 from test matrix as it is not compatible with the test framework anymore
  • db32c93 fix(inline): Use 'inline' as the default Content Dispostion value for embedded images
  • fdc7c27 chore(master): release 6.9.5 [skip-ci] (#1573)
  • da4744e fix(license): Updated license year
  • 13672b2 Removed legacy files (#1571)
  • afd2287 Added release workflow to publish npm packages from Github
  • 1ae83a2 Update services.json
  • 286dc28 v6.9.4
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/2b0371d1-9574-4fd8-bd70-4487101d4754?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/rithinch/project/2b0371d1-9574-4fd8-bd70-4487101d4754?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":"4281271a-d181-4cb7-8874-3899b689dc8b","prPublicId":"4281271a-d181-4cb7-8874-3899b689dc8b","dependencies":[{"name":"nodemailer","from":"4.7.0","to":"6.9.9"}],"packageManager":"npm","projectPublicId":"2b0371d1-9574-4fd8-bd70-4487101d4754","projectUrl":"https://app.snyk.io/org/rithinch/project/2b0371d1-9574-4fd8-bd70-4487101d4754?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-NODEMAILER-6219989"],"upgrade":["SNYK-JS-NODEMAILER-6219989"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[658],"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)
sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud