CVE-2025-59046 (CNNVD-202509-1127)

CRITICAL
中文标题:
interactive-git-checkout 命令注入漏洞
英文标题:
interactive-git-checkout has Command Injection vulnerability
CVSS分数: 9.8
发布时间: 2025-09-09 22:33:31
漏洞类型: 命令注入
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

interactive-git-checkout是Nino Filiu个人开发者的一个分支切换软件。 interactive-git-checkout 1.1.4及之前版本存在命令注入漏洞,该漏洞源于未对分支名称进行输入验证或清理,可能导致命令注入攻击。

英文描述:

The npm package `interactive-git-checkout` is an interactive command-line tool that allows users to checkout a git branch while it prompts for the branch name on the command-line. It is available as an npm package and can be installed via `npm install -g interactive-git-checkout`. Versions up to and including 1.1.4 of the `interactive-git-checkout` tool are vulnerable to a command injection vulnerability because the software passes the branch name to the `git checkout` command using the Node.js child process module's `exec()` function without proper input validation or sanitization. Commit 8dd832dd302af287a61611f4f85e157cd1c6bb41 fixes the issue.

CWE类型:
CWE-77
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
ninofiliu interactive-git-checkout <= 1.1.4 - - cpe:2.3:a:ninofiliu:interactive-git-checkout:<=_1.1.4:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/ninofiliu/interactive-git-checkout/security/advisories/GHSA-4wcm-7hjf-6xw5 x_refsource_CONFIRM
cve.org
访问
https://github.com/ninofiliu/interactive-git-checkout/commit/8dd832dd302af287a61611f4f85e157cd1c6bb41 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
CRITICAL
9.8
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2025-09-09 22:33:31
修改时间:
2025-09-10 13:07:49
创建时间:
2025-11-11 15:40:46
更新时间:
2025-11-11 16:00:09
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-59046 2025-11-11 15:23:31 2025-11-11 07:40:46
NVD nvd_CVE-2025-59046 2025-11-11 15:01:02 2025-11-11 07:48:33
CNNVD cnnvd_CNNVD-202509-1127 2025-11-11 15:12:56 2025-11-11 08:00:09
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:09
vulnerability_type: 未提取 → 命令注入; cnnvd_id: 未提取 → CNNVD-202509-1127; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 命令注入
  • cnnvd_id: 未提取 -> CNNVD-202509-1127
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:33
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']