QID 980056
QID 980056: Nodejs (npm) Security Update for @actions/core (GHSA-mfwh-5m23-j46w)
Security update has been released for @actions/core to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
The `@actions/core` npm module `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.
Solution
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](https://github.com/actions/toolkit/blob/main/docs/commands.md#environment-files). Workflows and actions using the old commands or older versions of the toolkit will start to warn, then error out during workflow execution.Workaround:
None, it is strongly suggested that you upgrade as soon as possible.
None, it is strongly suggested that you upgrade as soon as possible.
Vendor References
- GHSA-mfwh-5m23-j46w -
github.com/advisories/GHSA-mfwh-5m23-j46w
CVEs related to QID 980056
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-mfwh-5m23-j46w | @actions/core |
|