How To Patch the ShellShock bash Bug on Older or Beta AWS Linux AMI’s

This is the standard upgrade method for AWS Linux AMI’s:
1 2 |
yum clean all yum update bash |
Or use this for the version 2012.09, 2012.03, or 2011.09 repositories:
1 2 |
yum clean all yum --releasever=2013.03 update bash |
For older AWS Linux AMI’s, you may not be able to use the standard upgrade method as described in this link: https://alas.aws.amazon.com/ALAS-2014-419.html These are the steps needed to manually patch bash 4.1: […]