koajs / joi-router

Configurable, input and output validated routing for koa
MIT License
450 stars 96 forks source link

[Snyk] Security upgrade @koa/router from 10.0.0 to 11.0.2 #144

Closed fengmk2 closed 3 months ago

fengmk2 commented 8 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 - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![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:debug:20170905](https://snyk.io/vuln/npm:debug:20170905) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: @koa/router The new version differs by 21 commits.
  • 8fe1d54 11.0.1
  • d2ad849 feat: allow set router host match (#156)
  • 54a3198 11.0.0
  • fdf7117 chore: drop node 12 from tests
  • d0c6d8b feat: require node >= 12, modernize, bump deps
  • 68253f6 fix(lib/test/doc): fix jsdoc and typo (#146)
  • c6a8fc8 feat: add `exclusive` option (#129)
  • 3454a7d doc: add comma for better understanding (#145)
  • 13a634d Support symbols as route names (#143)
  • 6ba3efa feat(deps): update minimal version from 8 -> 12 (#152)
  • 6db0e68 feat(default-params): replace || cond with default params (#153)
  • 6aca720 Improve path checking before route registration (#155)
  • 4fb50ac improve doc for prefix method. (#151)
  • 65414f4 * update deps (#150)
  • 1aead99 doc: add header to refer to api reference. (#112)
  • 05fe8dd Include type installation instructions in README (#134)
  • 5cec6fb Replace user with ctx.user in param docs (#136)
  • 90dd73c 10.1.1
  • 904db98 Correct @ hapi/boom usage example (#128)
  • fa48560 10.1.0
  • e9fa04b Fix additional entry inejcted to params (#124)
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/fengmk2/project/50f31c6b-3fa2-471c-9be0-bc5033545454?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/fengmk2/project/50f31c6b-3fa2-471c-9be0-bc5033545454?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":"91172dd1-88ad-4475-9dd9-46507f3ee448","prPublicId":"91172dd1-88ad-4475-9dd9-46507f3ee448","dependencies":[{"name":"@koa/router","from":"10.0.0","to":"11.0.2"}],"packageManager":"npm","projectPublicId":"50f31c6b-3fa2-471c-9be0-bc5033545454","projectUrl":"https://app.snyk.io/org/fengmk2/project/50f31c6b-3fa2-471c-9be0-bc5033545454?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["npm:debug:20170905"],"upgrade":["npm:debug:20170905"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[506],"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)
socket-security[bot] commented 8 months ago

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@koa/router 10.0.0...11.0.2 None +5/-1 218 kB titanism