CyberRota Analysis
AI-GeneratedJupyterLab versions 3.3.0 to 4.5.10 and 4.6.2 are vulnerable due to improper validation of settings in the overrides.json file, allowing malicious code execution when users import crafted settings. This vulnerability can lead to unauthorized access to notebooks and files, enabling attackers to execute code with the affected user's privileges. Organizations using these JupyterLab versions, especially those handling sensitive data, should prioritize updating to the patched versions 4.5.10 or 4.6.2 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From 3.3.0 until 4.5.10 and 4.6.2, JupyterLab allows notebook settings to be shared and applied through an overrides.json file using the Import button in the Settings Editor. In packages/notebook-extension/schema/tracker.json and packages/notebook-extension/src/index.ts, the sideBySideLeftMarginOverride and sideBySideRightMarginOverride settings are not properly validated before being inserted into style content, allowing a crafted settings file to contain instructions that execute as code instead of only changing display preferences. A user can import the malicious file, or an attacker with access to a shared settings location can plant an overrides.json that is applied automatically. The embedded code runs with the affected user's access and can read or modify notebooks and files and run code through the notebook server, including on a connected kernel. This issue is fixed in versions 4.5.10 and 4.6.2.