practicajs / practica

Node.js solution starter boilerplate that is production-ready, packed with ✅ best practices and built with simplicity in mind
https://practica.dev/
MIT License
1.5k stars 136 forks source link

[Snyk] Security upgrade axios from 0.26.1 to 1.6.3 #319

Closed mikicho closed 7 months ago

mikicho commented 10 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: - src/code-templates/services/order-service/package.json - src/code-templates/services/order-service/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") | **658/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-AXIOS-6124857](https://snyk.io/vuln/SNYK-JS-AXIOS-6124857) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised. 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/practica.js-shared/project/21dacddc-f0e6-4743-98e8-5901fe6debc5?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/practica.js-shared/project/21dacddc-f0e6-4743-98e8-5901fe6debc5?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":"adc08224-bc22-40ec-acff-e5fada570948","prPublicId":"adc08224-bc22-40ec-acff-e5fada570948","dependencies":[{"name":"axios","from":"0.26.1","to":"1.6.3"}],"packageManager":"npm","projectPublicId":"21dacddc-f0e6-4743-98e8-5901fe6debc5","projectUrl":"https://app.snyk.io/org/practica.js-shared/project/21dacddc-f0e6-4743-98e8-5901fe6debc5?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-AXIOS-6124857"],"upgrade":["SNYK-JS-AXIOS-6124857"],"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)
codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a204201) 90.92% compared to head (749ba18) 63.63%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #319 +/- ## =========================================== - Coverage 90.92% 63.63% -27.29% =========================================== Files 16 2 -14 Lines 595 22 -573 Branches 43 2 -41 =========================================== - Hits 541 14 -527 + Misses 53 7 -46 Partials 1 1 ``` | [Flag](https://app.codecov.io/gh/practicajs/practica/pull/319/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=practicajs) | Coverage Δ | | |---|---|---| | [app](https://app.codecov.io/gh/practicajs/practica/pull/319/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=practicajs) | `?` | | | [generator](https://app.codecov.io/gh/practicajs/practica/pull/319/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=practicajs) | `63.63% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=practicajs#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.