这是 CVE-2025-53547 的概念验证
Chart.lock 将测试文件链接到 /tmp/1.txt
/tmp/1.txt 注入一个创建 /tmp/2.txt 的命令
在实际产品环境中,您可以更改 Chart.lock 链接文件以注入任何您想要的命令,例如:
或者任何可以运行 shell 脚本的文件。
然后更改 Chart.yaml 的依赖仓库 URL 参数以运行其他命令。
helm <= 3.18.3
首先运行
helm dependency update
然后您将找到 /tmp/1.txt
然后运行
bash /tmp/1.txt
然后您将找到 /tmp/2.txt
https://github.com/helm/helm/security/advisories/GHSA-557j-xg8c-q2mm https://github.com/helm/helm/compare/v3.18.3...v3.18.4