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

exploitDog

github логотип

GHSA-fv2r-r8mp-pg48

Опубликовано: 06 нояб. 2025
Источник: github
Github: Прошло ревью
CVSS3: 4.6

Описание

Soft Serve does not sanitize ANSI escape sequences in user input

Impact

In several places where the user can insert data (e.g. names), ANSI escape sequences are not being removed, which can then be used, for example, to show fake alerts.

In the same token, git messages, when printed, are also not being sanitized.

Places in which this was found:

  1. Repository Description (pkg/backend/repo.go - SetDescription)
  2. Repository Project Name (pkg/backend/repo.go - SetProjectName)
  3. Git Commit Author Names (pkg/ssh/cmd/commit.go:69)
  4. Git Commit Messages (pkg/ssh/cmd/commit.go:71)
  5. Access Token Names (pkg/ssh/cmd/token.go:107)
  6. Webhook URLs (pkg/ssh/cmd/webhooks.go:72)

Patches

v0.11.0

Workarounds

No.

References

n/a

Пакеты

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

github.com/charmbracelet/soft-serve

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

<= 0.10.0

0.11.0

EPSS

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

4.6 Medium

CVSS3

Дефекты

CWE-150

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

CVSS3: 4.6
nvd
3 месяца назад

Soft Serve is a self-hostable Git server for the command line. In versions prior to 0.10.0, there are several places where the user can insert data (e.g. names) and ANSI escape sequences are not being removed, which can then be used, for example, to show fake alerts. In the same token, git messages, when printed, are also not being sanitized. This issue is fixed in version 0.10.0.

EPSS

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

4.6 Medium

CVSS3

Дефекты

CWE-150