CVE-2020-15228CWE-20

Environment Variable Injection in GitHub Actions

Low · published October 1, 2020

CVSS v3.1
3.5
EPSS
1%
Percentile
73.9
In the wild
Unconfirmed
What it is

In the `@actions/core` npm module before version 1.2.6,`addPath` and `exportVariable` functions communicate with the Actions Runner over stdout by generating a string in a specific format. Workflows that log untrusted data to stdout may invoke these commands, resulting in the path or environment variables being modified without the intention of the workflow or action author. The runner will release an update that disables the `set-env` and `add-path` workflow commands in the near future. For now, users should upgrade to `@actions/core v1.2.6` or later, and replace any instance of the `set-env` or `add-path` commands in their workflows with the new Environment File Syntax. Workflows and actions using the old commands or older versions of the toolkit will start to warn, then error out during workflow execution.

The record
Technical detail
CVSS v3.1
3.5 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.01488 · 73.9th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2020-10-01T17:25Z
EPSS history
Timeline
  • 01 OCT 17:25Z
    Environment Variable Injection in GitHub Actions
    cvelistv5