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

exploitDog

github логотип

GHSA-2c6m-6gqh-6qg3

Опубликовано: 25 окт. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.8

Описание

Docker Command Escaping in the GitHub Actions Runner

Impact

The actions runner invokes the docker cli directly in order to run job containers, service containers, or container actions. A bug in the logic for how the environment is encoded into these docker commands was discovered that allows an input to escape the environment variable and modify that docker command invocation directly. Jobs that use container actions, job containers, or service containers alongside untrusted user inputs in environment variables may be vulnerable.

Patches

The Actions Runner has been patched, both on github.com and hotfixes for GHES and GHAE customers. Please update to one of the following versions of the runner:

  • 2.296.2
  • 2.293.1
  • 2.289.4
  • 2.285.2
  • 2.283.4

GHES and GHAE customers may want to patch their instance in order to have their runners automatically upgrade to these new runner versions.

Workarounds

You may want to consider removing any container actions, job containers, or service containers from your jobs until you are able to upgrade your runner versions.

For more information

If you have any questions or comments about this advisory:

Пакеты

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

actions/runner

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

>= 2.294.0, < 2.296.1

2.296.2

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

actions/runner

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

>= 2.290.0, < 2.293.1

2.293.1

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

actions/runner

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

>= 2.286.0, < 2.289.4

2.289.4

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

actions/runner

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

>= 2.284.0, < 2.285.2

2.285.2

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

actions/runner

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

< 2.283.4

2.283.4

EPSS

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

8.8 High

CVSS3

Дефекты

CWE-78

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

CVSS3: 8.8
nvd
почти 3 года назад

GitHub Actions Runner is the application that runs a job from a GitHub Actions workflow. The actions runner invokes the docker cli directly in order to run job containers, service containers, or container actions. A bug in the logic for how the environment is encoded into these docker commands was discovered in versions prior to 2.296.2, 2.293.1, 2.289.4, 2.285.2, and 2.283.4 that allows an input to escape the environment variable and modify that docker command invocation directly. Jobs that use container actions, job containers, or service containers alongside untrusted user inputs in environment variables may be vulnerable. The Actions Runner has been patched, both on `github.com` and hotfixes for GHES and GHAE customers in versions 2.296.2, 2.293.1, 2.289.4, 2.285.2, and 2.283.4. GHES and GHAE customers may want to patch their instance in order to have their runners automatically upgrade to these new runner versions. As a workaround, users may consider removing any container actions

EPSS

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

8.8 High

CVSS3

Дефекты

CWE-78