该漏洞允许攻击者在不通过 SSH 认证的情况下登录服务器并执行任意代码。详情请参阅:https://www.openwall.com/lists/oss-security/2024/03/29/4
使用
curl -fsSL https://raw.githubusercontent.com/wgetnz/CVE-2024-3094-check/main/CVE-2024-3094-check.sh| bash
或者
curl -fsSL https://github.freedns.uk/https://raw.githubusercontent.com/wgetnz/CVE-2024-3094-check/main/CVE-2024-3094-check.sh| bash
如果你的主机离线,请使用以下命令
对于 Debian/Ubuntu:
apt list --installed 2>&1 | grep xz | grep -E '5.6.0|5.6.1' && echo "Check your system now" || echo "Everything is ok"
对于 macOS:
brew info xz | grep xz | grep -E '5.6.0|5.6.1' && echo 'Check your system now' || echo 'Everything is ok'
如何修复: 只需降级 xz-utils
macOS 修复: brew install xz
如有任何问题,请提交 issue。如果此项目对你有帮助,请给我一个 star