PT-2022-24898 · Github · Github Actions Runner
Thboop
·
Published
2022-10-25
·
Updated
2022-10-28
·
CVE-2022-39321
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
GitHub Actions Runner versions prior to 2.296.2
GitHub Actions Runner versions prior to 2.293.1
GitHub Actions Runner versions prior to 2.289.4
GitHub Actions Runner versions prior to 2.285.2
GitHub Actions Runner versions prior to 2.283.4
Description
A bug in the logic for how the environment is encoded into docker commands was discovered that allows an input to escape the environment variable and modify the docker command invocation directly. Jobs that use container actions, job containers, or service containers alongside untrusted user inputs in environment variables may be vulnerable.
Recommendations
For versions prior to 2.296.2, update to version 2.296.2 or later.
For versions prior to 2.293.1, update to version 2.293.1 or later.
For versions prior to 2.289.4, update to version 2.289.4 or later.
For versions prior to 2.285.2, update to version 2.285.2 or later.
For versions prior to 2.283.4, update to version 2.283.4 or later.
As a temporary workaround, consider removing any container actions, job containers, or service containers from jobs until able to upgrade the runner versions.
Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Github Actions Runner