punchcard-cms / punchcard

The Punchcard CMS
Apache License 2.0
31 stars 19 forks source link

[Snyk] Fix for 13 vulnerabilities #719

Open Snugug opened 1 year ago

Snugug commented 1 year 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 #### 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") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-ANSIREGEX-1583908](https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908) | No | Proof of Concept ![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-GLOBPARENT-1016905](https://snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905) | Yes | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **484/1000**
**Why?** Has a fix available, CVSS 5.4 | Open Redirect
[SNYK-JS-GOT-2932019](https://snyk.io/vuln/SNYK-JS-GOT-2932019) | Yes | No Known Exploit ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **704/1000**
**Why?** Has a fix available, CVSS 9.8 | SQL Injection
[SNYK-JS-KNEX-471962](https://snyk.io/vuln/SNYK-JS-KNEX-471962) | No | No Known Exploit ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **506/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 3.7 | Prototype Pollution
[SNYK-JS-MINIMIST-2429795](https://snyk.io/vuln/SNYK-JS-MINIMIST-2429795) | No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **601/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.6 | Prototype Pollution
[SNYK-JS-MINIMIST-559764](https://snyk.io/vuln/SNYK-JS-MINIMIST-559764) | No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **454/1000**
**Why?** Has a fix available, CVSS 4.8 | Session Fixation
[SNYK-JS-PASSPORT-2840631](https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631) | No | No Known Exploit ![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-VALIDATOR-1090599](https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090599) | Yes | Proof of Concept ![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-VALIDATOR-1090600](https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090600) | Yes | Proof of Concept ![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-VALIDATOR-1090601](https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090601) | Yes | Proof of Concept ![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-VALIDATOR-1090602](https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090602) | Yes | Proof of Concept ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **506/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 3.7 | Regular Expression Denial of Service (ReDoS)
[npm:braces:20180219](https://snyk.io/vuln/npm:braces:20180219) | No | Proof of Concept ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **506/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 3.7 | Regular Expression Denial of Service (ReDoS)
[npm:validator:20180218](https://snyk.io/vuln/npm:validator:20180218) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: knex The new version differs by 250 commits.
  • 48d8c7e Prepare 0.19.5 release
  • e112a21 Remove unneeded logging
  • 78a7e9a fix CLI tests fails caused by PR #3416 (#3466)
  • 988fb24 Fix MSSQL escaping (#3382)
  • 516b074 Enable linting in CI (#3450)
  • c1d2027 Fix handling of multiline SQL in SQLite3 schema (#3411)
  • 53d8649 Update test to accommodate for increased precision in PG 12 (#3465)
  • 7fabae9 Migrations up/down commands: filename parameter (#3416)
  • fb095cb Add missing Migrator.list typing (#3460)
  • b744564 Fix Typescript type inference for to better support wildcard (*) calls #3444 (#3446)
  • 68e1ae2 Support stored procedures in Oracle
  • 5417cac Fix for concurrent child transactions failing (#2213) (#3440)
  • eb8f0c0 Make options argument optional in timeout (#3442)
  • 65969d6 Prepare 0.19.4 release
  • 3464e4c Update dependencies (#3431)
  • 019141c Add specific to SeederConfig type (#3429)
  • 6c73b22 Fix some issues with QueryBuilder types (#3427)
  • 4ade989 feat: add undefined columns to undefined binding(s) error (#3425)
  • 75ac92f Update 0.19.3 changelog
  • 8f40f8d migrate: Refactor _lockMigrations to avoid forUpdate (#3395)
  • 3f86d75 TypeScript definition: include schemaName in EnumOptions (#3415)
  • e5972b8 Prepare 0.19.3 release (#3414)
  • d6426d7 Add ability to manually define schema for enu with useNative (#3307) (#3413)
  • 1ef1a4e Fix native enum with specified schema (#3307) (#3400)
See the full diff
Package name: nodemon The new version differs by 114 commits.
  • 27e91c3 fix: update packge-lock
  • 0144e4f fix: bump update-notifier to v6.0.0 (#2029)
  • c870342 chore: update supporters
  • 5c0b472 chore: add supporter
  • e26aaa9 fix: support windows by using path.delimiter
  • 9d1afd7 docs: add syntax highlighting to sample-nodemon.md (#1982) (#2004)
  • de5d32a docs: Unified Node.js capitalization (#1986)
  • e890927 docs: add note to faq with example showing how to watch any file extension (#1931)
  • bc4547b chore: update sponsors
  • 07159c5 chore: add supporters
  • cd100da chore: update supporters
  • 6a34922 chore: supporters
  • e5d6067 chore: updating supporters
  • 242f9f7 Merge branch 'main' of github.com:remy/nodemon
  • 141e58c chore: update supporters
  • 53422af ci(release): workflow uses 'npm' cache (#1933)
  • 581c641 ci(node.js): workflow uses 'npm' cache (#1934)
  • cb1c8b9 docs: Fix typo in faq.md (#1950)
  • 54784ab fix: bump prod dep versions
  • 26db983 chore: update supporters
  • 61e7abd fix: add windows signals SIGUSR2 & SIGUSR1 to terminate the process (#1938)
  • b449171 docs: Fix typo in faq.md
  • 0a3175f chore: update supporters
  • 18516d8 chore: add supporter
See the full diff
Package name: passport The new version differs by 160 commits.
See the full diff
Package name: validator The new version differs by 250 commits.
  • 47ee5ad 13.7.0
  • 496fc8b fix(rtrim): remove regex to prevent ReDOS attack (#1738)
  • 45901ec Merge pull request #1851 from validatorjs/chore/fix-merge-conflicts
  • 83cb7f8 chore: merge conflict clean-up
  • f17e220 feat(isMobilePhone): add El Salvador es-SV locale
  • 5b06703 feat(isMobilePhone): add Palestine ar-PS locale
  • a3faa83 feat(isMobilePhone): add Botswana en-BW locale
  • 26605f9 feat(isMobilePhone): add Turkmenistan tk-TM
  • 0e5d5d4 feat(isMobilePhone): add Guyana en-GY locale
  • f7ff349 feat(isMobilePhone): add Frech Polynesia fr-PF locale
  • 8627e48 feat(isMobilePhone): add Kiribati en-KI locale
  • ed60123 feat(isMobilePhone): add Tajikistan tg-TJ locale (#1846)
  • c96d805 feat(isMobilePhone): add Maldives dv-MV locale
  • 5c2d69e feat(isMobilePhone): regex for Burkina Faso fr-BF and Namibia en-NA locales
  • fc0fefc feat(isMobilePhone): add Bhutan dz-BT locale (#1770)
  • 01d3da3 feat(isMobilePhone): add Tajikistan tg-TJ locale (#1846)
  • af2b43c feat(isUUID): add support for validation of version v1 and v2 (#1848)
  • 769f6d5 feat(contains): add possibility to check that string contains seed multiple times (#1836)
  • f2381e0 feat: (isMobilePhone): add Cameroon fr-CM locale (#1772)
  • 5773869 feat(isVAT): add dutch NL locale (#1825)
  • de1cb29 fix: Russian passport number regex (#1810)
  • 7bee611 add CDN use option with unpkg (#1844)
  • 57cc14e feat(isIdentityCard): add finnish locale (#1838)
  • 2201869 feat: added finnish locale to isAlpha and isAlphanumeric (#1837)
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/snugug/project/e6bd704c-a9eb-439f-916b-2859df7a076f?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/snugug/project/e6bd704c-a9eb-439f-916b-2859df7a076f?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":"3cf19656-7bbf-494d-9b63-f85342bfddca","prPublicId":"3cf19656-7bbf-494d-9b63-f85342bfddca","dependencies":[{"name":"knex","from":"0.13.0","to":"0.19.5"},{"name":"nodemon","from":"1.19.4","to":"2.0.17"},{"name":"passport","from":"0.3.2","to":"0.6.0"},{"name":"validator","from":"7.2.0","to":"13.7.0"}],"packageManager":"npm","projectPublicId":"e6bd704c-a9eb-439f-916b-2859df7a076f","projectUrl":"https://app.snyk.io/org/snugug/project/e6bd704c-a9eb-439f-916b-2859df7a076f?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-GLOBPARENT-1016905","SNYK-JS-GOT-2932019","SNYK-JS-KNEX-471962","SNYK-JS-MINIMIST-2429795","SNYK-JS-MINIMIST-559764","SNYK-JS-PASSPORT-2840631","SNYK-JS-VALIDATOR-1090599","SNYK-JS-VALIDATOR-1090600","SNYK-JS-VALIDATOR-1090601","SNYK-JS-VALIDATOR-1090602","npm:validator:20180218","npm:braces:20180219"],"upgrade":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-GLOBPARENT-1016905","SNYK-JS-GOT-2932019","SNYK-JS-KNEX-471962","SNYK-JS-MINIMIST-2429795","SNYK-JS-MINIMIST-559764","SNYK-JS-PASSPORT-2840631","SNYK-JS-VALIDATOR-1090599","SNYK-JS-VALIDATOR-1090600","SNYK-JS-VALIDATOR-1090601","SNYK-JS-VALIDATOR-1090602","npm:braces:20180219","npm:validator:20180218"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[696,586,484,704,506,601,454,586,586,586,586,506,506]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?loc=fix-pr) 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?loc=fix-pr) 🦉 [Open Redirect](https://learn.snyk.io/lessons/open-redirect/javascript/?loc=fix-pr) 🦉 [More lessons are available in Snyk Learn](https://learn.snyk.io?loc=fix-pr)