Skip to content

Instantly share code, notes, and snippets.

@jpadilla
Last active August 29, 2015 14:06
Show Gist options
  • Save jpadilla/70dfc69a404ad302d44d to your computer and use it in GitHub Desktop.
Save jpadilla/70dfc69a404ad302d44d to your computer and use it in GitHub Desktop.
Restart all your Heroku apps to receive the updated stack image that patches CVE-2014-6271, also known as "shellshock". https://status.heroku.com/incidents/665
for app in $(heroku apps|sed -n '/^=== My Apps/,/patterns/{s/^=== My Apps//;/^patterns/d;p;}'); do echo "===> Restarting $app..."; heroku ps:restart --app $app; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment