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

exploitDog

github логотип

GHSA-9c4g-fp4r-prrv

Опубликовано: 30 сент. 2025
Источник: github
Github: Прошло ревью
CVSS4: 9.3
CVSS3: 9.8

Описание

check-branches is vulnerable to command Injection

All versions of the package check-branches are vulnerable to Command Injection.

check-branches is a command-line tool that is interacted with locally, or via CI, to confirm no conflicts exist in git branches.

However, the library follows these conventions which can be abused:

  1. It trusts branch names as they are (plain text)
  2. It spawns git commands by concatenating user input

Since a branch name is potentially a user input - as users can create branches remotely via pull requests, or simply due to privileged access to a repository - it can effectively be abused to run any command.

Пакеты

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

check-branches

npm
Затронутые версииВерсия исправления

<= 0.0.19

Отсутствует

EPSS

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

9.3 Critical

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-77
CWE-78

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

CVSS3: 9.8
nvd
4 месяца назад

All versions of the package check-branches are vulnerable to Command Injection check-branches is a command-line tool that is interacted with locally, or via CI, to confirm no conflicts exist in git branches. However, the library follows these conventions which can be abused: 1. It trusts branch names as they are (plain text) 2. It spawns git commands by concatenating user input Since a branch name is potentially a user input - as users can create branches remotely via pull requests, or simply due to privileged access to a repository - it can effectively be abused to run any command.

EPSS

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

9.3 Critical

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-77
CWE-78