YIZHUANG / react-multi-carousel

A lightweight production-ready Carousel that rocks supports multiple items and server-side rendering with no dependency. Bundle size 2kb.
MIT License
1.25k stars 286 forks source link

[Snyk] Fix for 2 vulnerabilities #413

Open YIZHUANG opened 7 months ago

YIZHUANG commented 7 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: - examples/ssr/package.json - examples/ssr/package-lock.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") | **706/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.7 | Server-side Request Forgery (SSRF)
[SNYK-JS-NETMASK-6056519](https://snyk.io/vuln/SNYK-JS-NETMASK-6056519) | No | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **619/1000**
**Why?** Has a fix available, CVSS 8.1 | Cross-site Scripting (XSS)
[SNYK-JS-SERIALIZEJAVASCRIPT-6056521](https://snyk.io/vuln/SNYK-JS-SERIALIZEJAVASCRIPT-6056521) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: next The new version differs by 250 commits.
  • 20aa1e4 v9.0.6
  • 85f84a0 v9.0.6-canary.7
  • b210133 Show dots for non-TTY (#8771)
  • ba07cc6 Revert "Add hard retrying for Azure test runs (#8761)" (#8772)
  • 664cd3f Add hard retrying for Azure test runs (#8761)
  • dc28e5b Example update: with-sentry-simple (#8684)
  • aa98323 v9.0.6-canary.6
  • 129e32f Fix windows paths mismatching for type errors (#8766)
  • 4e9e510 Match public files priority in dev (#8641)
  • 369eceb v9.0.6-canary.5
  • 9609065 fix(examples): use hooks in with-cookie-auth example (#8729)
  • 583b467 Prevent URL from being updated while asPath is delayed (#8756)
  • 204028d Update build feedback with dots indicating activity (#8382)
  • 44bbf9a Catch error from failing to unobserve (#8578)
  • 7863b60 Prettier fix (#8754)
  • a0341ea Convert Readme Custom Error Pages To Functional Component (#8513)
  • 3e81ace Improve prettier ignore (#8753)
  • fe7c734 Add link to docs for prerender indicator and allow disabling (#8610)
  • ed5dc21 Add autoExport to __NEXT_DATA__ (#8746)
  • 00e0281 v9.0.6-canary.4
  • d031cf6 Ensure requests are resolved as directories (#8742)
  • cbd427b Document the intended behavior of our externals (#8741)
  • 9770d19 Prevents externalizing non-hoisted packages (#8739)
  • 8cc6071 Update readme.md
See the full diff
Package name: snyk The new version differs by 250 commits.
  • 8987918 Merge pull request #1781 from snyk/fix/replace-proxy
  • eec11b7 test: raise timeout for snyk protect tests hitting real Snyk API
  • 8045ceb test: update proxy tests for the new proxy global-agent
  • 0d0c76a feat: support lowercase http_proxy envvars
  • e597846 test(proxy): acceptance test for Proxy envvar settings
  • 6d67579 fix: replace vulnerable proxy dependency
  • 1449c57 Merge pull request #1707 from snyk/feat/snyk-fix
  • 3d872fb test: assert exact errors for unsupported
  • 5ebd685 Merge pull request #1777 from snyk/feat/fix-with-version-provenance
  • 17e3431 Merge pull request #1778 from snyk/feat/dont-force-https
  • fdd7f1a docs: update SNYK_HTTP_PROTOCOL_UPGRADE description
  • 165b4b9 feat: introduce envvar to control HTTP-HTTPS upgrade behavior
  • 77e6665 chore: lerna release with exact version
  • f14819f Merge pull request #1760 from snyk/feat/support-critical-in-sarif
  • b286418 feat: v1 support for previously fixed reqs.txt
  • 0384020 feat: basic pip fix -r support
  • f94c558 feat: include pins optionally
  • 66ca77a feat: do not skip files with -r directive
  • bc44f9a refactor: fix individual reqs manifest
  • 6e84322 feat: fix individual file with provenance
  • 9ed99f3 Merge pull request #1764 from snyk/feat/update-code-client
  • c92599b Merge pull request #1774 from snyk/refactor/change-binaries-release-script
  • ca508ac test: smoke test for `snyk fix`
  • c68c7da feat: add @ snyk/fix as a dep
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/yizhuang/project/b0c7c1c4-9c9f-4c03-adbe-b061211916dc?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/yizhuang/project/b0c7c1c4-9c9f-4c03-adbe-b061211916dc?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":"46437bb3-f735-4818-afe6-ee2678d07f28","prPublicId":"46437bb3-f735-4818-afe6-ee2678d07f28","dependencies":[{"name":"next","from":"8.0.3","to":"9.0.6"},{"name":"snyk","from":"1.278.2","to":"1.518.0"}],"packageManager":"npm","projectPublicId":"b0c7c1c4-9c9f-4c03-adbe-b061211916dc","projectUrl":"https://app.snyk.io/org/yizhuang/project/b0c7c1c4-9c9f-4c03-adbe-b061211916dc?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-NETMASK-6056519","SNYK-JS-SERIALIZEJAVASCRIPT-6056521"],"upgrade":["SNYK-JS-NETMASK-6056519","SNYK-JS-SERIALIZEJAVASCRIPT-6056521"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[706,619],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Server-side Request Forgery (SSRF)](https://learn.snyk.io/lesson/improper-input-validation/?loc=fix-pr) 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lesson/dom-based-xss/?loc=fix-pr)