CVE-2025-50460 (CNNVD-202508-049)
中文标题:
SWIFT 安全漏洞
英文标题:
A remote code execution (RCE) vulnerability exists in the ms-swift project version 3.3.0 due to unsa...
漏洞描述
中文描述:
SWIFT是ModelScope开源的一个大模型与多模态大模型微调部署框架。 SWIFT 3.3.0版本存在安全漏洞,该漏洞源于PyYAML库中yaml.load()不安全反序列化,可能导致任意代码执行。
英文描述:
A remote code execution (RCE) vulnerability exists in the ms-swift project version 3.3.0 due to unsafe deserialization in tests/run.py using yaml.load() from the PyYAML library (versions = 5.3.1). If an attacker can control the content of the YAML configuration file passed to the --run_config parameter, arbitrary code can be executed during deserialization. This can lead to full system compromise. The vulnerability is triggered when a malicious YAML file is loaded, allowing the execution of arbitrary Python commands such as os.system(). It is recommended to upgrade PyYAML to version 5.4 or higher, and to use yaml.safe_load() to mitigate the issue.
CWE类型:
标签:
受影响产品
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (adp)
CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-50460 |
2025-11-11 15:23:26 | 2025-11-11 07:40:38 |
| NVD | nvd_CVE-2025-50460 |
2025-11-11 15:00:58 | 2025-11-11 07:48:26 |
| CNNVD | cnnvd_CNNVD-202508-049 |
2025-11-11 15:12:52 | 2025-11-11 08:00:04 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202508-049
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']