Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade sanity from 3.16.1 to 3.31.0 #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicholasklem
Copy link
Member

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
medium severity 631/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 6.2
Missing Release of Resource after Effective Lifetime
SNYK-JS-INFLIGHT-6095116
No Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: sanity The new version differs by 250 commits.
  • 37e207d v3.31.0
  • e0f6669 fix(comments): loading state (#5908)
  • 49fa240 feat(core): add Text Search API search strategy (#5785)
  • 9fc34a2 fix(core): allow `_dataset` for cross-dataset references in templates (#5889)
  • c9a1dd6 chore(deps): upgrade archiver, split2 dependencies (#5880)
  • 4159bca chore(search): refactor search to export necessary components and providers. (#5900)
  • 3670459 feat(core): export useWorkspaceLoader from core (#5898)
  • 174a616 feat(cli): --quickstart flag for ejecting server schemas (#5797)
  • 75ac3cf feat(ci): cache release dependencies (#5834)
  • eb5cd50 fix(comments): allow ranges to be collapsed (#5892)
  • 4ae88a0 fix(portable-text-editor): all paths must be checked (#5891)
  • ed87e2a fix(sanity): preserve form (as readOnly) when reconnecting (#5884)
  • 023e7e6 fix(core): updates to not show "cannot upload" on hover when using extension based accepts settings (#5881)
  • 7ed2b0f feat(comments): introduce inline commenting (#5606)
  • fa330a0 feat(portable-text-editor): range decorations (#5871)
  • 4926b78 fix(structure): provide better error handling if orderings contain invalid field (#5709)
  • 9ed5cca fix(core): check if previous state is null for unmounted component (#5724)
  • 6d61e94 feat(structure): support closing first collapsed `DocumentPanel` (#5867)
  • 84a0c90 feat(core): add `onFullScreenChange ` to Portable Text Input (#5879)
  • 2deebb1 fix(portable-text-editor): check that path is lengthy (#5875)
  • fc73437 fix(form): prevent drop event propagating outside of EditPortal component (#5813)
  • 16a5434 chore(deps): update dependency get-random-values-esm to v1.0.2 (#5856)
  • 1d41af7 feat(portable-text-editor): implement `isSelectionOverlapping` method (#5870)
  • f83e8e4 feat(portable-text-editor): preserve keys on undo/redo (#5805)

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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copy link

vercel bot commented Mar 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
demo-course-platform ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2024 11:07am
demo-course-platform-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2024 11:07am

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sanity/[email protected] filesystem Transitive: environment, eval, shell, unsafe +365 82 MB stipsan
npm/@sanity/[email protected] Transitive: environment, eval, filesystem, network, shell, unsafe +652 610 MB sanity-io
npm/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +93 21.7 MB jounqin
npm/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +90 10.3 MB lydell
npm/[email protected] environment, filesystem Transitive: eval, shell, unsafe +89 10.3 MB eslintbot
npm/[email protected] environment, filesystem, shell 0 6.44 kB typicode
npm/[email protected] environment, filesystem, unsafe 0 11.2 MB prettier-bot
npm/[email protected] Transitive: environment, eval, filesystem, network, shell, unsafe +645 603 MB ricokahler
npm/[email protected] None 0 40.1 MB typescript-bot

🚮 Removed packages: npm/@formatjs/[email protected], npm/@headlessui/[email protected], npm/@heroicons/[email protected], npm/@radix-ui/[email protected], npm/@sanity/[email protected], npm/@sanity/[email protected], npm/@sanity/[email protected], npm/@sanity/[email protected], npm/@tailwindcss/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/@sanity/[email protected]
  • Install script: postinstall
  • Source: node patch-eslint

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants