漏洞信息
# gradio-app/gradio中的命令注入漏洞
## 漏洞概述
在gradio-app/gradio仓库的'test-functional.yml'工作流中存在一个命令注入漏洞,由于未妥善中和特殊元素,导致未经授权的仓库修改或敏感信息泄露。
## 影响版本
影响版本包括`@gradio/video@0.6.12`及其之前的所有版本。
## 漏洞细节
漏洞出现在工作流处理GitHub上下文信息的过程中,具体是回显head仓库完整名称、head分支名称和工作流引用信息时没有进行适当的净化处理。这种情况可能导致敏感信息泄露。
## 影响
可能导致泄露的敏感信息包括但不限于:
- `GITHUB_TOKEN`
- `COMMENT_TOKEN`
- `CHROMATIC_PROJECT_TOKEN`
备注
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Command Injection in gradio-app/gradio
漏洞描述信息
A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the 'test-functional.yml' workflow. The vulnerability arises due to improper neutralization of special elements used in a command, allowing for unauthorized modification of the base repository or secrets exfiltration. The issue affects versions up to and including '@gradio/video@0.6.12'. The flaw is present in the workflow's handling of GitHub context information, where it echoes the full name of the head repository, the head branch, and the workflow reference without adequate sanitization. This could potentially lead to the exfiltration of sensitive secrets such as 'GITHUB_TOKEN', 'COMMENT_TOKEN', and 'CHROMATIC_PROJECT_TOKEN'.
CVSS信息
N/A
漏洞类别
在命令中使用的特殊元素转义处理不恰当(命令注入)
漏洞标题
Gradio 命令注入漏洞
漏洞描述信息
Gradio是一个开源 Python 库,是通过友好的 Web 界面演示机器学习模型的方法。 Gradio 0.6.12及之前版本存在命令注入漏洞,该漏洞源于命令中使用的特殊元素中和不当,导致未授权修改基础仓库或机密信息泄露。
CVSS信息
N/A
漏洞类别
命令注入