字号·· | 护眼
漏洞档案 · 严重

SaltStack Salt 目录遍历(CVE-2021-25282)

CVE-2021-25282 别名:GHSA-76X4-X3P6-RPR9、PYSEC-2021-51
CVSS 9.1 / 3.1 EPSS 92.6% CISA KEV 在野利用 公开 PoC · 1
综合风险87/ 100
CVSS9.1严重
EPSS92.6%30 天利用概率
机构收录时间2021-02-27更新 2026-12-01

研判简报

概述

CVE-2021-25282 是 SaltStack Salt 3002.5 之前版本中的目录遍历问题,位于 salt.wheel.pillar_roots.write 方法。攻击者可借该接口绕过路径限制写入文件,进而可能影响 pillar 数据与配置完整性。该漏洞 CVSS 9.1、EPSS 30 天利用概率 92.6%,且已列入 CISA KEV,属于应优先处置的高危项。使用 Salt 管理基础设施、尤其暴露 wheel 接口或 API 的运维与安全团队应重点关注。

严重性

官方记录 CVSS 3.1 为 9.1(critical),综合风险分 88.93/100;EPSS 30 天利用概率 92.6%(百分位 99.8%,日期 2026-11-24)。攻击面为可调用 wheel 模块 pillar_roots.write 的接口路径,属 CWE-22 目录遍历。

利用状态

截至核查日期 2026-11-25:CISA KEV 已收录(收录日期 2026-11-12),CISA SSVC 判定 exploitation=active;Exploit-DB/公开 PoC 记录 1 条。参考材料所列 XDB 页面为通用漏洞利用库列表,未给出与本 CVE 直接对应的 PoC 条目,故该条公开利用细节材料未给出。勒索软件关联情况材料未给出;Nuclei 模板状态材料未给出。

受影响产品

受影响版本区间极广:salt <2015.8.10;>=2015.8.11 <2015.8.13;>=2016.3.0 <2016.3.4;>=2016.3.5 <2016.3.6;>=2016.3.7 <2016.3.8;>=2016.3.9 <2016.11.3;>=2016.11.4 <2016.11.5;>=2016.11.7 <2016.11.10;>=2017.5.0 <2017.7.8;>=2018.2.0 <=2018.3.5;>=2019.2.0 <2019.2.5;>=2019.2.6 <2019.2.8;>=3000 <3000.6;>=3001 <3001.4;>=3002 <3002.5。另涉及 fedora 32/33/34 与 debian 9.0/10.0/11.0 发行版打包。组件为 Salt wheel 模块;部署形态材料未给出。

修复版本

官方结构化提取的修复版本包括:salt 2015.8.10、2015.8.13、2016.3.4、2016.3.6、2016.3.8、2016.11.3、2016.11.5、2016.11.10、2017.7.8、2019.2.5;标题与描述同时指明 3002.5 之前版本受影响,即 3002.5 为修复边界。发行版侧补丁状态材料未给出。

缓解措施

KEV 要求动作:按厂商说明应用修复或缓解,若无法修复或缓解则停止使用该产品(期限材料未给出)。在不能立即升级时,可限制对 wheel 接口及 pillar_roots.write 的访问、收敛对外暴露面;具体厂商缓解条目材料未给出。

响应步骤

  1. 盘点资产中 Salt 版本,对照上述区间确认是否受影响,优先处理对外可达的 API/wheel 入口。
  2. 升级至对应修复版本(3002 线升至 3002.5,其余按版本线对照修复清单)。
  3. 核查 pillar 根目录及相关配置文件是否出现异常写入或路径穿越痕迹,关注 T1083/T1005 对应的目录发现与本地数据采集行为。
  4. 审计 wheel 接口调用日志与账号权限,收紧非必要调用方。
  5. 无法升级的主机按 KEV 要求执行厂商缓解或停用,并记录例外。

参考来源

  1. https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2021-25282kev
  2. https://vulncheck.com/xdb/600815d3aecfexploit,vulncheck_xdb
  3. https://github.com/Immersive-Labs-Sec/CVE-2021-25281poc,github
  4. https://vulncheck.com/kev/cve-2021-25282advisory,vulncheck_kev
  5. https://github.com/saltstack/salt/releasesx_transferred,Third Party Advisory,advisory,euvd
  6. https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/x_transferred,Vendor Advisory,advisory,euvd
  7. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/vendor-advisory,vendor-advisory,x_transferred,Mailing List,Third Party Advisory,
  8. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/vendor-advisory,vendor-advisory,x_transferred,Mailing List,Third Party Advisory,
  9. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/vendor-advisory,vendor-advisory,x_transferred,Mailing List,Third Party Advisory,
  10. https://security.gentoo.org/glsa/202103-01vendor-advisory,vendor-advisory,x_transferred,Third Party Advisory,advisory,euvd
  11. http://packetstormsecurity.com/files/162058/SaltStack-Salt-API-Unauthenticated-Remote-Command-Execution.htmlx_transferred,Exploit,Third Party Advisory,VDB Entry,advisory,euvd
  12. https://lists.debian.org/debian-lts-announce/2021/11/msg00009.htmlmailing-list,mailing-list,x_transferred,Mailing List,Third Party Advisory,adviso
  13. https://www.debian.org/security/2021/dsa-5011vendor-advisory,vendor-advisory,x_transferred,Third Party Advisory,advisory,euvd
  14. https://lists.debian.org/debian-lts-announce/2022/01/msg00000.htmlmailing-list,mailing-list,x_transferred,Mailing List,Third Party Advisory,adviso
  15. https://security.gentoo.org/glsa/202310-22vendor-advisory,vendor-advisory,x_transferred,Third Party Advisory,advisory,euvd
  16. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/http/saltstack_salt_wheel_async_rceexploit,metasploit