Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Toolkit Project | Toolkit | < 1.2.6 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.htmlExploitThird Party AdvisoryVDB Entry
- https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46wThird Party Advisory
- http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.htmlExploitThird Party AdvisoryVDB Entry
- https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46wThird Party Advisory
FAQ
What is CVE-2020-15228?
CVE-2020-15228 is a vulnerability with a CVSS score of 3.5 (LOW). 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 t...
How severe is CVE-2020-15228?
CVE-2020-15228 has been rated LOW with a CVSS base score of 3.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-15228?
Check the references section above for vendor advisories and patch information. Affected products include: Toolkit Project Toolkit.