chore(deps): update dependency jupyterlite-core to >=0.4,<0.5 [security] #10046
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.3,<0.4
->>=0.4,<0.5
GitHub Vulnerability Alerts
GHSA-gj55-2xf9-67rq
Impact
The vulnerability depends on user interaction by opening a malicious notebook with Markdown cells, or Markdown file using JupyterLab preview feature.
A malicious user can access any data accessible from JupyterLite and perform arbitrary actions in JupyterLite environment.
Patches
JupyterLite 0.4.1 was patched.
Workarounds
There is no workaround for the underlying DOM Clobbering susceptibility. However, select plugins can be disabled on deployments which cannot update in a timely fashion to minimise the risk. These are:
@jupyterlab/mathjax-extension:plugin
- users will loose ability to preview mathematical equations@jupyterlab/markdownviewer-extension:plugin
- users will loose ability to open Markdown previews@jupyterlab/mathjax2-extension:plugin
(if installed with optionaljupyterlab-mathjax2
package) - an older version of the mathjax plugin for JupyterLab 4.xTo disable these extensions populate the
disabledExtensions
key injupyter-config-data
stanza ofjupyter-lite.json
as documented on https://jupyterlite.readthedocs.io/en/stable/howto/configure/config_files.html#jupyter-lite-jsonTo confirm that the plugins were disabled manual inspection of the built page is required.
References
Upstream advisory: GHSA-9q39-rmj3-p4r2
Notes
This change has a potential to break rendering of some markdown. There is a setting in Sanitizer which allows to revert to the previous sanitizer settings (
allowNamedProperties
).Release Notes
jupyterlite/jupyterlite (jupyterlite-core)
v0.4.1
Compare Source
(Full Changelog)
Maintenance and upkeep improvements
Documentation improvements
Contributors to this release
(GitHub contributors page for this release)
@github-actions | @jtpio | @michaelweinold | @zonca
v0.4.0
Compare Source
(Full Changelog)
Enhancements made
@jupyterlab/terminal-extension
#1397 (@jtpio)Bugs fixed
Maintenance and upkeep improvements
importlib_metadata
#1426 (@jtpio)packageManager
topackage.json
#1419 (@jtpio)ejs
#1392 (@jtpio)Documentation improvements
SharedArrayBuffer
in the migration guide #1442 (@jtpio)jupyterlite-pyodide-kernel
supports theSharedArrayBuffer
in the documentation #1428 (@jtpio)SharedArrayBuffer
#1405 (@jtpio)currentChanged
to the migration guide #1394 (@jtpio)API and Breaking Changes
Contributors to this release
(GitHub contributors page for this release)
@afshin | @bollwyvl | @Carreau | @dependabot | @github-actions | @jtpio | @juntyr | @krassowski | @martinRenou
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.