CVE-2020-15228
Severity CVSS v4.0:
Pending analysis
Type:
CWE-77
Command Injection
Publication date:
01/10/2020
Last modified:
18/11/2021
Description
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.
Impact
Base Score 3.x
5.00
Severity 3.x
MEDIUM
Base Score 2.0
4.00
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:toolkit_project:toolkit:*:*:*:*:*:node.js:*:* | 1.2.6 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



