Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

fstec логотип

BDU:2025-03877

Опубликовано: 03 апр. 2025
Источник: fstec
CVSS3: 7.4
CVSS2: 5.7
EPSS Низкий

Описание

Уязвимость элемента управления «Open Git Repository in Terminal» («Открыть репозиторий Git в терминале») расширения jupyterlab-git веб-ориентированной интерактивной среды разработки JupyterLab связана с непринятием мер по нейтрализации специальных элементов, используемых в команде операционной системы. Эксплуатация уязвимости может позволить нарушителю получить доступ на чтение и изменение данных и выполнить произвольные команды

Вендор

Jupyter Development Team.

Наименование ПО

jupyterlab-git

Версия ПО

до 0.51.0 включительно (jupyterlab-git)

Тип ПО

Прикладное ПО информационных систем

Операционные системы и аппаратные платформы

-

Уровень опасности уязвимости

Средний уровень опасности (базовая оценка CVSS 2.0 составляет 5,7)
Высокий уровень опасности (базовая оценка CVSS 3.0 составляет 7,4)

Возможные меры по устранению уязвимости

Использование рекомендаций:
https://github.com/jupyterlab/jupyterlab-git/commit/b46482993f76d3a546015c6a94ebed8b77fc2376
https://github.com/jupyterlab/jupyterlab-git/releases/tag/v0.51.1
Компенсирующие меры:
В случае невозможности установки обновлений пользователям рекомендуется воспользоваться одним из возможных способов:
1. Отключите терминалы на уровне jupyter-server:
c.ServerApp.terminals_enabled = False
2. Отключите расширение сервера терминалов:
jupyter server extension disable jupyter_server_terminals
3. Отключите расширение lab:
jupyter labextension disable @jupyterlab/terminal-extension

Статус уязвимости

Подтверждена производителем

Наличие эксплойта

Существует в открытом доступе

Информация об устранении

Уязвимость устранена

Идентификаторы других систем описаний уязвимостей

EPSS

Процентиль: 8%
0.00033
Низкий

7.4 High

CVSS3

5.7 Medium

CVSS2

Связанные уязвимости

CVSS3: 7.4
redhat
5 месяцев назад

jupyterlab-git is a JupyterLab extension for version control using Git. On many platforms, a third party can create a Git repository under a name that includes a shell command substitution string in the syntax $(<command>). These directory names are allowed in macOS and a majority of Linux distributions. If a user starts jupyter-lab in a parent directory of this inappropriately-named Git repository, opens it, and clicks "Git > Open Git Repository in Terminal" from the menu bar, then the injected command <command> is run in the user's shell without the user's permission. This issue is occurring because when that menu entry is clicked, jupyterlab-git opens the terminal and runs cd <git-repo-path> through the shell to set the current directory. Doing so runs any command substitution strings present in the directory name, which leads to the command injection issue described here. A previous patch provided an incomplete fix. This vulnerability is fixed in 0.51.1.

CVSS3: 7.4
nvd
5 месяцев назад

jupyterlab-git is a JupyterLab extension for version control using Git. On many platforms, a third party can create a Git repository under a name that includes a shell command substitution string in the syntax $(<command>). These directory names are allowed in macOS and a majority of Linux distributions. If a user starts jupyter-lab in a parent directory of this inappropriately-named Git repository, opens it, and clicks "Git > Open Git Repository in Terminal" from the menu bar, then the injected command <command> is run in the user's shell without the user's permission. This issue is occurring because when that menu entry is clicked, jupyterlab-git opens the terminal and runs cd <git-repo-path> through the shell to set the current directory. Doing so runs any command substitution strings present in the directory name, which leads to the command injection issue described here. A previous patch provided an incomplete fix. This vulnerability is fixed in 0.51.1.

CVSS3: 7.4
github
5 месяцев назад

jupyterlab-git has a command injection vulnerability in "Open Git Repository in Terminal"

EPSS

Процентиль: 8%
0.00033
Низкий

7.4 High

CVSS3

5.7 Medium

CVSS2