You must update bash
to protect your CentOS 5/6 server against the ShellShock vulnerability.
CentOS Version | Command |
---|---|
CentOS 5 32-bit | rpm -Uvh http://mirror.centos.org/centos/5/updates/i386/RPMS/bash-3.2-33.el5_11.4.i386.rpm |
CentOS 5 64-bit | rpm -Uvh http://mirror.centos.org/centos/5/updates/x86_64/RPMS/bash-3.2-33.el5_11.4.x86_64.rpm |
CentOS 6 32-bit | rpm -Uvh http://mirror.centos.org/centos/6/os/i386/Packages/bash-4.1.2-29.el6.i686.rpm |
CentOS 6 64-bit | rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/bash-4.1.2-29.el6.x86_64.rpm |
Bash is now properly patched and updated on your server.