Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2022-35954
August 13, 2022
The GitHub Actions ToolKit provides a set of packages to make creating actions easier. The "core.exportVariable" function uses a well known delimiter that attackers can use to break out of that specific variable and assign values to other arbitrary variables. Workflows that write untrusted values to the "GITHUB_ENV" file may cause the path or other environment variables to be modified without the intention of the workflow or action author. Users should upgrade to "@actions/core v1.9.1". If you are unable to upgrade the "@actions/core" package, you can modify your action to ensure that any user input does not contain the delimiter "_GitHubActionsFileCommandDelimeter_" before calling "core.exportVariable".
Affected Packages
@actions/core (NPM):
Affected version(s) >=1.0.0 <1.9.1
Fix Suggestion:
Update to version 1.9.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Improper Neutralization of Special Elements used in a Command ('Command Injection')
EPSS
Base Score:
0.25