1.背景
saltstack出現安全漏洞,5.1前后爆出很多設備已經變成礦機。
2.處理方法
升級到最新版本salt
3.官方升級方法
yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest.el6.noarch.rpm (centos6--python2)
yum install https://repo.saltstack.com/py3/redhat/salt-py3-repo-latest.el7.noarch.rpm (centos7-python3)
yum clean expire-cache
yum install salt-minion
service salt-minion restart
4.yum更新遇到的問題
Cannot open: https://repo.saltstack.com/yum/redhat/salt-repo-latest.el6.noarch.rpm. Skipping.
Error: Nothing to do
解決方法:
yum update wget nss -y