cscetbon / casskop

This Kubernetes operator automates Cassandra operations such as deploying rack aware clusters, scaling up and down, configuring C* and its JVM, upgrading JVM and C*, backup/restores and many more...
https://cscetbon.github.io/casskop/
Apache License 2.0
13 stars 8 forks source link

[Snyk] Fix for 4 vulnerabilities #134

Closed cscetbon closed 10 months ago

cscetbon 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.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - website/package.json - website/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 ![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") | **909/1000**
**Why?** Mature exploit, Has a fix available, CVSS 9.6 | Heap-based Buffer Overflow
[SNYK-JS-SHARP-5922108](https://snyk.io/vuln/SNYK-JS-SHARP-5922108) | Yes | Mature ![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-TRIM-1017038](https://snyk.io/vuln/SNYK-JS-TRIM-1017038) | 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/casskop/project/e7dcab56-2c97-4974-8746-26fd11f9cb1d?utm_source=github&utm_medium=referral&page=fix-pr) πŸ›  [Adjust project settings](https://app.snyk.io/org/casskop/project/e7dcab56-2c97-4974-8746-26fd11f9cb1d?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":"a2818fb7-5279-49be-9b15-8225d8ebd119","prPublicId":"a2818fb7-5279-49be-9b15-8225d8ebd119","dependencies":[{"name":"@docusaurus/core","from":"2.3.1","to":"3.0.0"},{"name":"@docusaurus/plugin-ideal-image","from":"2.3.1","to":"3.0.0"},{"name":"@docusaurus/preset-classic","from":"2.3.1","to":"3.0.0"},{"name":"@docusaurus/theme-common","from":"2.3.1","to":"3.0.0"},{"name":"@docusaurus/theme-mermaid","from":"2.3.1","to":"3.0.0"}],"packageManager":"yarn","projectPublicId":"e7dcab56-2c97-4974-8746-26fd11f9cb1d","projectUrl":"https://app.snyk.io/org/casskop/project/e7dcab56-2c97-4974-8746-26fd11f9cb1d?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-AXIOS-6032459","SNYK-JS-GOT-2932019","SNYK-JS-SHARP-5922108","SNYK-JS-TRIM-1017038"],"upgrade":["SNYK-JS-AXIOS-6032459","SNYK-JS-GOT-2932019","SNYK-JS-SHARP-5922108","SNYK-JS-TRIM-1017038"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[676,484,909,696],"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) πŸ¦‰ [Open Redirect](https://learn.snyk.io/lesson/open-redirect/?loc=fix-pr) πŸ¦‰ [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)
cscetbon commented 10 months ago

Deployment of the documentation is failing, @PERES-Richard you wanna take a stab at it ?

PERES-Richard commented 10 months ago

Will take a look at it this evening πŸ‘

cscetbon commented 10 months ago

Will take a look at it this evening πŸ‘

Thanks ! I wonder if we can't just upgrade docusaurus to the latest version

PERES-Richard commented 10 months ago

@cscetbon Please check https://github.com/cscetbon/casskop/pull/135, it addressed this issue and includes snyk auto fix changes