CVE-2024-22415
Unsecured endpoints in the jupyter-lsp server extension
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
jupyter-lsp is a coding assistance tool for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol. Installations of jupyter-lsp running in environments without configured file system access control (on the operating system level), and with jupyter-server instances exposed to non-trusted network are vulnerable to unauthorised access and modification of file system beyond the jupyter root directory. This issue has been patched in version 2.2.2 and all users are advised to upgrade. Users unable to upgrade should uninstall jupyter-lsp.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | py3-jupyter-lsp | 2.2.2-r0 |
| pip::GitHub Security Advisory pip | jupyter-lsp | 2.2.2 |
| wolfi | py3-jupyter-lsp | 2.2.2-r0 |
References
- https://github.com/jupyter-lsp/jupyterlab-lsp
- https://github.com/jupyter-lsp/jupyterlab-lsp/commit/4ad12f204ad0b85580fc32137c647baaff044e95
- https://github.com/jupyter-lsp/jupyterlab-lsp/releases/tag/v5.0.2
- https://github.com/jupyter-lsp/jupyterlab-lsp/security/advisories/GHSA-4qhp-652w-c22x
- https://nvd.nist.gov/vuln/detail/CVE-2024-22415