Vulnerability Information
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
Environment Variable Injection in GitHub Actions
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.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
Vulnerability Type
输入验证不恰当
Vulnerability Title
@actions/core 命令注入漏洞
Vulnerability Description
@actions/core是个人开发者的npm包管理工具的核心函数。该函数用于结果、密钥、日志的配置。 npm 模块 @actions/core 1.2.6之前版本存在命令注入漏洞,该漏洞源于addPath和exportVariable函数通过生成特定格式的字符串,通过stdout与Actions Runner通信。 将不受信任的数据记录到stdout的工作流可能会调用这些命令,从而导致在工作流或操作作者无意的情况下修改路径或环境变量。
CVSS Information
N/A
Vulnerability Type
N/A