已合并
[pytorch][bugfix]Fix the security issue in the communication port #3760
guozhihua2创建于 2025年11月26日
[pytorch][bugfix]Fix the security issue in the communication port #3760
已合并
共 1 个文件变更+4-4
| @@ -75,7 +75,7 @@ MindSpeed-LLM 暂时未发布wheel包,无正式对外公开接口,所有功 | |||
| 75 | [通信矩阵说明](https://gitcode.com/ascend/pytorch/blob/master/SECURITYNOTE.md#%E9%80%9A%E4%BF%A1%E7%9F%A9%E9%98%B5%E4%BF%A1%E6%81%AF) | 75 | [通信矩阵说明](https://gitcode.com/ascend/pytorch/blob/master/SECURITYNOTE.md#%E9%80%9A%E4%BF%A1%E7%9F%A9%E9%98%B5%E4%BF%A1%E6%81%AF) |
| 76 | 76 | ||
| 77 | ### 特殊场景 | 77 | ### 特殊场景 |
| 78 | -| 场景 | 使用方法 | 端口 | 可能的风险 | | 78 | +| 场景 | 使用方法 | 端口 | 可能的风险 | |
| 79 | -| ------------------------------------- | ------------------------------------------------ | ---------- | ---------- | | 79 | +|---------------------------------------------------------------------------------| ------------------------------------------------ | ---------- | ---------- | |
| 80 | -| 使用MindSpeed-LLM进行训练任务时,新增32个随机端口和1个master-port端口(该端口与torch_npu的master-port端口一致) | 使用PyTorch分布式训练拉起任一任务 | [1024,65520]内 | 网络配置错误可能引发端口冲突或连接问题,影响训练效率。 | | 80 | +| 使用MindSpeed-LLM进行训练任务时,新增24个随机端口和1个master-port端口(该端口与torch_npu的master-port端口一致) | 使用PyTorch分布式训练拉起任一任务 | [1024,65520]内 | 网络配置错误可能引发端口冲突或连接问题,影响训练效率。 | |
| 81 | -| 用户通过nltk.download下载语料库 | 用户在代码内部使用nltk.download来实现语料库的下载 | 随机端口 | 文件来源若不可信,在文件加载时可能存在反序列化漏洞,导致文件被篡改。 | | 81 | +| 用户通过nltk.download下载语料库 | 用户在代码内部使用nltk.download来实现语料库的下载 | 随机端口 | 文件来源若不可信,在文件加载时可能存在反序列化漏洞,导致文件被篡改。 | |