opengovsg / postmangovsg

Templated message sending for public officers
https://postman.gov.sg
60 stars 16 forks source link

[Snyk] Fix for 2 vulnerabilities #2258

Closed liangyuanruo closed 6 months ago

liangyuanruo 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: - backend/package.json - backend/package-lock.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") | **586/1000**
**Why?** Proof of Concept exploit, 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) | No | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Prototype Pollution
[SNYK-JS-SEQUELIZETYPESCRIPT-6085300](https://snyk.io/vuln/SNYK-JS-SEQUELIZETYPESCRIPT-6085300) | No | 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 51 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
Package name: sequelize-typescript The new version differs by 127 commits.
  • 32e4824 chore: ignore CHANGELOG for markdownlint
  • 92c3f49 chore(release): v2.1.6
  • 5ce8afd fix: deny modifying the object prototype (#1698)
  • 837a3cc build(deps): bump vm2 from 3.9.11 to 3.9.15 (#1626)
  • 0e43d08 build(deps-dev): bump sequelize from 6.28.2 to 6.29.0 (#1597)
  • ce980e5 build(deps-dev): bump sequelize from 6.25.8 to 6.28.2 (#1590)
  • 113aa3b build(deps-dev): bump husky from 8.0.1 to 8.0.2 (#1521)
  • 1816663 build(deps-dev): bump sequelize from 6.25.5 to 6.25.8 (#1519)
  • 91eb2df build(deps-dev): bump prettier from 2.7.1 to 2.8.0 (#1518)
  • 264af5f build(deps): bump wagoid/commitlint-github-action from 5.2.2 to 5.3.0 (#1513)
  • d5385d7 build(deps): bump minimatch in /examples/repository-mode (#1514)
  • ce0c92a build(deps): bump minimatch from 3.0.4 to 3.1.2 in /examples/simple (#1515)
  • 7a9fb81 build(deps-dev): bump @ typescript-eslint/eslint-plugin (#1511)
  • 192e434 build(deps-dev): bump @ types/lodash from 4.14.187 to 4.14.190 (#1512)
  • cbe15f1 build(deps-dev): bump @ types/sinon-chai from 3.2.8 to 3.2.9 (#1504)
  • 2d1c655 build(deps-dev): bump chai and @ types/chai (#1505)
  • 4bb93fb build(deps-dev): bump sequelize from 6.25.3 to 6.25.5 (#1506)
  • 32948ea build(deps-dev): bump eslint from 8.26.0 to 8.27.0 (#1503)
  • 18101f3 build(deps-dev): bump @ types/node from 18.11.8 to 18.11.9 (#1501)
  • f4790f1 build(deps-dev): bump @ commitlint/config-conventional (#1500)
  • c02deb7 build(deps-dev): bump @ types/lodash from 4.14.186 to 4.14.187 (#1498)
  • a2db038 build(deps-dev): bump @ typescript-eslint/eslint-plugin (#1497)
  • 018d978 build(deps-dev): bump @ commitlint/cli from 17.1.2 to 17.2.0 (#1496)
  • a822888 build(deps-dev): bump @ typescript-eslint/parser from 5.41.0 to 5.42.0 (#1499)
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/postman-1y3/project/0678071c-de40-4552-b446-967781ee715b?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/postman-1y3/project/0678071c-de40-4552-b446-967781ee715b?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":"a844c6a5-45dc-4091-adbe-232b3ae4d8ad","prPublicId":"a844c6a5-45dc-4091-adbe-232b3ae4d8ad","dependencies":[{"name":"nodemailer","from":"6.7.5","to":"6.9.9"},{"name":"sequelize-typescript","from":"2.1.3","to":"2.1.6"}],"packageManager":"npm","projectPublicId":"0678071c-de40-4552-b446-967781ee715b","projectUrl":"https://app.snyk.io/org/postman-1y3/project/0678071c-de40-4552-b446-967781ee715b?utm_source=github&utm_medium=referral&page=fix-pr","type":"user-initiated","patch":[],"vulns":["SNYK-JS-NODEMAILER-6219989","SNYK-JS-SEQUELIZETYPESCRIPT-6085300"],"upgrade":["SNYK-JS-NODEMAILER-6219989","SNYK-JS-SEQUELIZETYPESCRIPT-6085300"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[586,696],"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) 🦉 [Prototype Pollution](https://learn.snyk.io/lesson/prototype-pollution/?loc=fix-pr)