-
Notifications
You must be signed in to change notification settings - Fork 1
Update dependency jupyterlab to v4 [SECURITY] #48
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/pypi-jupyterlab-vulnerability
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91039e7
to
1a19566
Compare
1a19566
to
fb326fc
Compare
fb326fc
to
67eb59c
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
^3.0.0
->^4.0.0
GitHub Vulnerability Alerts
CVE-2024-22421
Impact
Users of JupyterLab who click on a malicious link may get their
Authorization
andXSRFToken
tokens exposed to a third party when running an olderjupyter-server
version.Patches
JupyterLab 4.1.0b2, 4.0.11, and 3.6.7 were patched.
Workarounds
No workaround has been identified, however users should ensure to upgrade
jupyter-server
to version 2.7.2 or newer which includes a redirect vulnerability fix.References
Vulnerability reported by user @davwwwx via the bug bounty program sponsored by the European Commission and hosted on the Intigriti platform.
CVE-2024-43805
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 that the attacked user has access to as well as perform arbitrary requests acting as the attacked user.
Patches
JupyterLab v3.6.8, v4.2.5 and Jupyter Notebook v7.2.2 were 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 run:
To confirm that the plugins were disabled run:
References
None
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
).CVE-2025-59842
Links generated with LaTeX typesetters in Markdown files and Markdown cells in JupyterLab and Jupyter Notebook did not include the
noopener
attribute.This is deemed to have no impact on the default installations. Theoretically users of third-party LaTeX-rendering extensions could find themselves vulnerable to reverse tabnabbing attacks if:
target=_blank
(no such extensions are known at time of writing) andFor consistency with handling on other links, new versions of JupyterLab will enforce
noopener
andtarget=_blank
on all links generated by typesetters. The former will harden the resilience of JupyterLab to extensions with lack of secure defaults in link rendering, and the latter will improve user experience by preventing accidental state loss when clicking on links rendered by LaTeX typesetters.Impact
Since the official LaTeX typesetter extensions for JupyterLab:
jupyterlab-mathjax
(default),jupyterlab-mathjax2
andjupyterlab-katex
do not include thetarget=_blank
, there is no impact for JupyterLab users.Patches
JupyterLab 4.4.8
Workarounds
No workarounds are necessary.
References
None
Release Notes
jupyterlab/jupyterlab (jupyterlab)
v4.4.8
Compare Source
4.4.8
(Full Changelog)
Bugs fixed
configurationDone
message once as per the DAP #17912 (@martinRenou)Maintenance and upkeep improvements
Documentation improvements
Contributors to this release
(GitHub contributors page for this release)
@brichet | @github-actions | @HaudinFlorence | @jtpio | @jupyterlab-probot | @krassowski | @martinRenou | @meeseeksmachine | @Meriem-BenIsmail | @williamstein
v4.4.7
Compare Source
4.4.7
(Full Changelog)
Enhancements made
Bugs fixed
FileDialog.getOpenFiles
#17844 (@martinRenou)'clear'
cases in switch statements forObservableList
#17837 (@Darshan808)Documentation improvements
toolbarRegistry.registerFactory
withtoolbarRegistry.addFactory
in docs #17799 (@krassowski)Contributors to this release
(GitHub contributors page for this release)
@bollwyvl | @jtpio | @jupyterlab-probot | @krassowski | @lumberbot-app | @meeseeksmachine | @Meriem-BenIsmail
v4.4.6
Compare Source
4.4.6
(Full Changelog)
Bugs fixed
preferredDir
#17723 (@Darshan808)FileDialog.getOpenFiles
dialog #17737 (@martinRenou)Maintenance and upkeep improvements
js-testing
tests #17754 (@jtpio)httpx<1
#17746 (@jtpio)Documentation improvements
preferredDir
#17723 (@Darshan808)jupyter.lab.transform
#17726 (@MUFFANUJ)Contributors to this release
(GitHub contributors page for this release)
@brichet | @Darshan808 | @fcollonval | @github-actions | @jtpio | @jupyterlab-probot | @krassowski | @meeseeksmachine | @Zsailer
v4.4.5
Compare Source
4.4.5
(Full Changelog)
Bugs fixed
@codemirror/view
tov6.38.1
, fixinglineWrap
indefer
mode #17698 (@krassowski)ToolbarButtonComponent
dataset attributes with thedata-
prefix #17703 (@RRosio)threadId
being passed to the debugger #17667 (@kr-2003)Maintenance and upkeep improvements
Documentation improvements
Contributors to this release
(GitHub contributors page for this release)
@Darshan808 | @github-actions | @itsmevichu | @jtpio | @jupyterlab-probot | @kr-2003 | @krassowski | @martinRenou | @meeseeksmachine | @nkn2022
v4.4.4
Compare Source
4.4.4
(Full Changelog)
Bugs fixed
CommsOverSubshells.PerCommTarget
#17634 (@ianthomas23)Sanitizer.setAllowedSchemes
#17602 (@bsundaram1)Maintenance and upkeep improvements
Documentation improvements
Contributors to this release
(GitHub contributors page for this release)
@github-actions | @jtpio | @jupyterlab-probot | @krassowski | @lumberbot-app | @meeseeksmachine
v4.4.3
Compare Source
4.4.3
(Full Changelog)
Bugs fixed
standby
callback to lumino polls #17567 (@mahendrapaipuri)MainAreaWidget
#17527 (@dnlzrgz)fileeditor-extension
: fix handling of launcher, commands and menu entries onspecsChanged
#17550 (@jtpio)Maintenance and upkeep improvements
Contributors to this release
(GitHub contributors page for this release)
@github-actions | @jtpio | @jupyterlab-probot | @krassowski | @meeseeksmachine
v4.4.2
Compare Source
4.4.2
(Full Changelog)
Bugs fixed
v2025.4.30
to pull menu aria fix #17525 (@krassowski)aria-hidden
to icons (<svg>
elements) which do not have atitle
#17472 (@nkn2022)Maintenance and upkeep improvements
Documentation improvements
Contributors to this release
(GitHub contributors page for this release)
@jtpio | @jupyterlab-probot | @krassowski | @meeseeksmachine | @nkn2022
v4.4.1
Compare Source
(Full Changelog)
Bugs fixed
none
windowing mode #17486 (@krassowski)Maintenance and upkeep improvements
@jupyterlab/services
import #17457 (@jtpio)Contributors to this release
(GitHub contributors page for this release)
@achhina | @afshin | @bnavigator | @brichet | @Darshan808 | @davidbrochart | @DenisaCG | @dependabot | @jtpio | @jupyterlab-probot | @krassowski | @pre-commit-ci
v4.4.0
Compare Source
(Full Changelog)
New features added
Enhancements made
IKernelSpecAPICLient
andITerminalAPIClient
, fix definitions of interfaces #17395 (@jtpio)IKernelAPIClient
andISessionAPIClient
as options forKernel.IManager
andSession.IManager
#17348 (@jtpio)display: flex
#17343 (@SatyajitRedekar)@codemirror/lang-python
to provide match-case indentation #17189 (@deephbz)--subshell-console
flag #17180 (@ianthomas23)CONTRIBUTING.md
#17078 (@JasonWeill)ServiceManager
with plugins #16794 (@jtpio)@jupyterlab/debugger
icons to@jupyterlab/ui-components
#16745 (@joaopalmeiro)Bugs fixed
ITerminalAPIClient
inTerminalConnection
#17437 (@jtpio)delete_to_trash
isTrue
#17359 (@jesuino)null
banner in the code console #17322 (@jtpio)ctrl
+m
toggle focus binding, enable configuring it via Keyboard Shortcuts #17291 (@krassowski)<GroupItem>
to filter outnull
children and accept anyReactNode
#17244 (@MUFFANUJ)\tag{}
directive in LaTeX #17223 (@MUFFANUJ)lastCell
from notebook run actions #17156 (@pawel99k)contentProviderId
#17141 (@jtpio)settingeditor:open
when settings editor is already open #17121 (@andrewfulton9)proxies
parameter forhttpx
<0.28 #17113 (@AmberArr)bind(this)
toNotebookAdapter
'sisReady
function #17109 (@martenrichter)@codemirror
packages #17064 (@jtpio)AsyncHTTPTransport
overHTTPTransport
forhttpx
#17058 (@krassowski)FileBrowserModel.onFileChanged
for drives (includingRTC:
) #16988 (@davidbrochart)min-height
when not windowing #16979 (@brichet)Last Modified
column is hidden #16962 (@krassowski)Services.Contents
#16927 (@cmarmo)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.