Token bruteforcing.
CVE-2022-29238 · GHSA-v7vq-3x77-87vg · published 2022-06-16 · updated 2023-01-27
- Severity
- Medium
- CVSS score
- 4.3
- Chance of exploitation (EPSS)
- 1.2%
- Fixed in
- 6.4.12
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
What kind of vulnerability is it? Who is impacted? Authenticated requests to the notebook server with ContentsManager.allowhidden = False only prevented listing the contents of hidden directories, not accessing individual hidden files or files in hidden directories (i.e. hidden files were 'hidden' but not 'inaccessible'). This could lead to notebook configurations allowing authenticated access to files that may reasonably be expected to be disallowed. Because fully authenticated requests are required, this is of relatively low impact. But if a server's root directory contains sensitive files whose only protection from the server is being hidden (e.g.
Upgrade notebook to 6.4.12 or later.
Has the problem been patched? What versions should users upgrade to? notebook 6.4.12
Is there a way for users to fix or remediate the vulnerability without upgrading? Do not run the notebook server in a directory with hidden files, use subdirectories Use a custom ContentsManager with additional checks for self.is_hidden(path) prior to completing actions
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| notebook | PyPI | < 6.4.12 | 6.4.12 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- CriticalImproper Input Validation in Jupyter Notebookipython, notebook
- HighJupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboardjupyterlab, jupyterlab, notebook
- HighJupyterLab's command linker attributes in HTML enable one-click command execution from untrusted contentjupyterlab, notebook
- HighJupyter Notebook Vulnerable to Authentication Token Theft via CommandLinker XSSjupyterlab, notebook
- HighHTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobberingjupyterlab, jupyterlab, notebook
- HighJupyterLab vulnerable to potential authentication and CSRF tokens leakjupyterlab, jupyterlab, notebook
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.