centos bash漏洞查看与修复

本文详细介绍了 Linux Bash 存在的重大漏洞,包括受漏洞影响的版本和具体的漏洞细节。同时提供了安全修复步骤,确保系统免受潜在威胁。了解如何通过更新 Bash 解决此安全风险。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

linux bash报重大漏洞,存在漏洞的版本包括如下。

bash-4.2.45-5.el7_0.2
bash-4.1.2-15.el6_5.1
bash-4.1.2-15.el6_5.1.sjis.1
bash-4.1.2-9.el6_2.1
bash-4.1.2-15.el6_4.1
bash-3.2-33.el5.1Linux
bash-3.2-33.el5_11.1.sjis.1
bash-3.2-24.el5_6.1
bash-3.2-32.el5_9.2
bash-3.0-27.el4.2


查看命令如下:
env x='() { :;}; echo vulnerable'  bash -c "echo this is a test"



如果输出:

vulnerable
this is a test


则系统存在风险


修复方式:
yum -y update bash



修复后输出如下:

bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值