CVE-2020-15228

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:toolkit_project:toolkit:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 05:05

Type Values Removed Values Added
References () http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html - Exploit, Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html - Exploit, Third Party Advisory, VDB Entry
References () https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w - Third Party Advisory () https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w - Third Party Advisory
CVSS v2 : 4.0
v3 : 5.0
v2 : 4.0
v3 : 3.5

Information

Published : 2020-10-01 18:15

Updated : 2024-11-21 05:05


NVD link : CVE-2020-15228

Mitre link : CVE-2020-15228

CVE.ORG link : CVE-2020-15228


JSON object : View

Products Affected

toolkit_project

  • toolkit
CWE
CWE-20

Improper Input Validation

CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')