permitio / permit-node

Node.js SDK for Permit.io: Plug & Play Application Level Authorization
MIT License
25 stars 1 forks source link

[Snyk] Security upgrade axios from 0.21.4 to 1.6.0 #62

Closed obsd closed 10 months ago

obsd 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 `yarn` dependencies of this project.

:sparkles: Snyk has automatically assigned this pull request, [set who gets assigned](https://app.snyk.io/org/permit/project/b2aa73b6-9ae8-435d-bc6a-e1214be6d9df?utm_source=github&utm_medium=referral&page=fix-pr/settings/integration). As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user. #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json - yarn.lock #### Note for [zero-installs](https://yarnpkg.com/features/zero-installs) users If you are using the Yarn feature [zero-installs](https://yarnpkg.com/features/zero-installs) that was introduced in Yarn V2, note that this PR does not update the `.yarn/cache/` directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run `yarn` to update the contents of the `./yarn/cache` directory. If you are not using zero-install you can ignore this as your flow should likely be unchanged. #### 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") | **676/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.1 | Cross-site Request Forgery (CSRF)
[SNYK-JS-AXIOS-6032459](https://snyk.io/vuln/SNYK-JS-AXIOS-6032459) | 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/permit/project/b2aa73b6-9ae8-435d-bc6a-e1214be6d9df?utm_source=github&utm_medium=referral&page=fix-pr) šŸ‘©ā€šŸ’» [Set who automatically gets assigned](https://app.snyk.io/org/permit/project/b2aa73b6-9ae8-435d-bc6a-e1214be6d9df?utm_source=github&utm_medium=referral&page=fix-pr/settings/integration) šŸ›  [Adjust project settings](https://app.snyk.io/org/permit/project/b2aa73b6-9ae8-435d-bc6a-e1214be6d9df?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":"ed369a8f-0d6c-4cdc-9ad9-a9a06a373ac5","prPublicId":"ed369a8f-0d6c-4cdc-9ad9-a9a06a373ac5","dependencies":[{"name":"axios","from":"0.21.4","to":"1.6.0"}],"packageManager":"yarn","projectPublicId":"b2aa73b6-9ae8-435d-bc6a-e1214be6d9df","projectUrl":"https://app.snyk.io/org/permit/project/b2aa73b6-9ae8-435d-bc6a-e1214be6d9df?utm_source=github&utm_medium=referral&page=fix-pr","type":"user-initiated","patch":[],"vulns":["SNYK-JS-AXIOS-6032459"],"upgrade":["SNYK-JS-AXIOS-6032459"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[676],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** šŸ¦‰ [Cross-site Request Forgery (CSRF)](https://learn.snyk.io/lesson/csrf-attack/?loc=fix-pr)