CVE-2020-15228
Microsoft Actions Core Untrusted Data Path and Environment Variable Manipulation 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.
INFO
Published Date :
Oct. 1, 2020, 6:15 p.m.
Last Modified :
Nov. 18, 2021, 5:52 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.1
Public PoC/Exploit Available at Github
CVE-2020-15228 has a 6 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-15228
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html | Exploit Third Party Advisory VDB Entry |
https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
TypeScript JavaScript Shell
None
oshka is a tool for extracting nested CI/CD supply chains and executing commands.
github-actions security supply-chain
Makefile Go Dockerfile Shell
None
None
Fix CVE-2020-15228 (set-env, add-path in Github-Actions)
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-15228
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-15228
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Nov. 18, 2021
Action Type Old Value New Value Removed CWE NIST CWE-20 Added CWE NIST CWE-77 -
Modified Analysis by [email protected]
Dec. 23, 2020
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html No Types Assigned http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html Exploit, Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Nov. 03, 2020
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html [No Types Assigned] -
Initial Analysis by [email protected]
Oct. 23, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N Changed Reference Type https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w No Types Assigned https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:toolkit_project:toolkit:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.2.6
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-15228
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-15228
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.10 }} 0.03%
score
0.39749
percentile