CVE-2022-35954: Delimiter injection vulnerability in @actions/core exportVariable

Published Aug 13, 2022
·
Updated

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 GITHUBENV 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 Software

1 affected component
GitHub Toolkit Node.js<1.9.1

Event History

Aug 13, 2022
CVE Published
via MITRE·11:40 PM
Data Sourced
via MITRE·11:40 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-35954?

CVE-2022-35954 is a vulnerability in the GitHub Actions Toolkit that allows attackers to assign values to arbitrary variables by breaking out of a specific variable using a well-known delimiter.

2

What is the severity of CVE-2022-35954?

CVE-2022-35954 has a severity of medium with a severity value of 5.

3

What software versions are affected by CVE-2022-35954?

The affected software version for CVE-2022-35954 is GitHub Toolkit 1.9.1 (Node.js).

4

How can I fix CVE-2022-35954?

To fix CVE-2022-35954, update to a version of GitHub Toolkit above 1.9.1.

5

Are there any references available for CVE-2022-35954?

Yes, you can find additional information about CVE-2022-35954 in the GitHub Advisory GHSA-7r3h-m5j6-3q42.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203