GHOST vulnerability check one-liner, with most reliable and cross-distro check script(.c).


Gist

https://gist.github.com/adionditsak/975764eba35273856be1

One-liner

$ curl -kL https://gist.githubusercontent.com/adionditsak/975764eba35273856be1/raw/2f9b31e39c22c03d6ef2152f8128165ef7c1aa27/check_ghost.sh | bash

An one-liner for the reliable .c Linux cross-distro check script.

Then you do not have to think about the manual compiling and deletion of files.

Works great with Ansible or similar tools. Tested with my own program Shellconf.py. Gives you a great overview of vulnerability across machines:

…
1586 [ghost.sh @ aa@ip-1] (04/02/2015 | 07:09:57):
1587 Downloading GHOST check script
1588 Compiling GHOST check script
1589 not vulnerable
1590 Vacuuming...
1591 Done
1592
1593
1594 [ghost.sh @ aa@ip-2] (04/02/2015 | 07:09:57):
1595 Downloading GHOST check script
1596 Compiling GHOST check script
1597 not vulnerable
1598 Vacuuming...
1599 Done
1600
…

GHOST information

https://access.redhat.com/articles/1332213