← Übersicht GitHub Actions

GitHub Actions Runner vulnerable to Docker Command Escaping

CVE-2022-39321 · GHSA-2c6m-6gqh-6qg3

Hoch · CVSS 8.8 Netzwerk · mit Login Fix verfügbar

Veröffentlicht
25.10.2022
Zuletzt geändert
23.04.2025
EPSS (30 Tage)
2.0 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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, job containers, or service containers from their jobs until they are able to upgrade their runner versions.

Betroffene Pakete im beobachteten Stack

GitHub Actionsactions/runner2.294.0 → 2.296.2GHSA-2c6m-6gqh-6qg3
GitHub Actionsactions/runner2.290.0 → 2.293.1GHSA-2c6m-6gqh-6qg3
GitHub Actionsactions/runner2.286.0 → 2.289.4GHSA-2c6m-6gqh-6qg3
GitHub Actionsactions/runner2.284.0 → 2.285.2GHSA-2c6m-6gqh-6qg3
GitHub Actionsactions/runner2.283.4GHSA-2c6m-6gqh-6qg3
Weitere betroffene Pakete (2)
CVEactions/runnerkein Fix bekanntCVE-2022-39321
NVDgithub:runner2.283.4, 2.284.0 → 2.285.2, 2.286.0 → 2.289.4, 2.290.0 → 2.293.1, 2.294.0 → 2.296.2CVE-2022-39321

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.