SCA: security update for jupyterlab-git (GHSA-cj5w-8mjf-r5f8)

high Tenable Cloud Security Plugin ID 424764

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-30370)

See Also

https://github.com/advisories/GHSA-cj5w-8mjf-r5f8

Plugin Details

Severity: High

ID: 424764

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 4/4/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.59

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5.7

Temporal Score: 4.2

Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:C/A:C

CVSS Score Source: CVE-2025-30370

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.4

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/4/2025

Vulnerability Publication Date: 4/3/2025

Reference Information

CVE: CVE-2025-30370

cwe: CWE-78