Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
actions toolkit
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

@actions/core是个人开发者的npm包管理工具的核心函数。该函数用于结果、密钥、日志的配置。 @actions/core 1.9.0及之前版本存在注入漏洞,该漏洞源于core.exportVariable 函数使用一个众所周知的分隔符,攻击者利用该漏洞可以突破该特定变量并将值分配给其他任意变量。

CVSS 5.0 · Medium EPSS 0.65% · P48
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-35954

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Delimiter injection vulnerability in @actions/core exportVariable
Source: CVE Program / CVE List V5
Vulnerability Description
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`.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
@actions/core 注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
@actions/core是个人开发者的npm包管理工具的核心函数。该函数用于结果、密钥、日志的配置。 @actions/core 1.9.0及之前版本存在注入漏洞,该漏洞源于core.exportVariable 函数使用一个众所周知的分隔符,攻击者利用该漏洞可以突破该特定变量并将值分配给其他任意变量。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
actions toolkit <= 1.9.0 -

II. Public POCs for CVE-2022-35954

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-35954

登录查看更多情报信息。

Patches & Fixes for CVE-2022-35954 (1)

Vendor Advisories for CVE-2022-35954 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-35954

No comments yet


Leave a comment