拷贝脚本到服务器上,sudo运行 如果系统是不被影响的,脚本输出为This system is Not affected:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# bash cve-2019-11477--2019-06-17-1629.sh
This script (v1.0) is primarily designed to detect CVE-2019-11477 on supported Red Hat Enterprise Linux systems and kernel packages. Result may be inaccurate for other RPM based systems.
Running kernel: 3.10.0-957.21.3.el7.x86_64
This system is Not affected
For more information about this vulnerability, see: https://access.redhat.com/security/vulnerabilities/tcpsack #
如果系统是受影响的,脚本输出为This system is Vulnerable:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# bash cve-2019-11477--2019-06-17-1629.sh
This script (v1.0) is primarily designed to detect CVE-2019-11477 on supported Red Hat Enterprise Linux systems and kernel packages. Result may be inaccurate for other RPM based systems.
Running kernel: 3.10.0-957.el7.x86_64
This system is Vulnerable
* Running kernel is vulnerable
For more information about this vulnerability, see: https://access.redhat.com/security/vulnerabilities/tcpsack #
此时运行检测监本,提示Running kernel is vulnerable,sysctl mitigation is applied
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# bash cve-2019-11477--2019-06-17-1629.sh
This script (v1.0) is primarily designed to detect CVE-2019-11477 on supported Red Hat Enterprise Linux systems and kernel packages. Result may be inaccurate for other RPM based systems.
Running kernel: 3.10.0-957.el7.x86_64
This system is Mitigated
* Running kernel is vulnerable * sysctl mitigation is applied
For more information about this vulnerability, see: https://access.redhat.com/security/vulnerabilities/tcpsack #