GHOST Critical alert for all Linux users!

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
RealBlackStuff
Admin
Admin
Posts: 17490
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

GHOST Critical alert for all Linux users!

#1 Post by RealBlackStuff » Wed Jan 28, 2015 4:54 pm

This critical vulnerability has been spotted: GHOST
See this: http://www.zdnet.com/article/critical-l ... TRE17cfd61
Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

Neil
Senior ThinkPadder
Senior ThinkPadder
Posts: 2914
Joined: Sun Aug 07, 2005 5:41 pm
Location: Paragould AR USA

Re: GHOST Critical alert for all Linux users!

#2 Post by Neil » Wed Jan 28, 2015 7:47 pm

Whoa! That looks dangerous. Must have been fixed as soon as it was discovered, since I don't recall reading ab out any wide spread attacks like this hole would have made possible. Besides, it only seems to have affected older versions of most distro, as any distro with glibc newer than 2.17, wasn't vulnerable to this. But, I guess there are several people still running some LTS systems that were vulnerable.
Collection = T500 - R400 - X300 - X200 - T61 (14" WXGA+) - T61 (14.1" SXGA+) - T60 (15" SXGA+) - X40 - T43p - T43 - T42p - A30P - 600E

ajkula66
SuperUserGeorge
SuperUserGeorge
Posts: 15733
Joined: Sun Feb 25, 2007 11:28 am
Location: Brodheadsville, Pennsylvania

Re: GHOST Critical alert for all Linux users!

#3 Post by ajkula66 » Wed Jan 28, 2015 7:54 pm

Thanks for the heads up.

I'm not booting any of my machines that run CentOS until the patch is released...
...Knowledge is a deadly friend when no one sets the rules...(King Crimson)

Cheers,

George (your grouchy retired FlexView farmer)

AARP club members:A31p, T43pSF

Abused daily: R61

PMs requesting personal tech support will be ignored.

bit_twiddler
Junior Member
Junior Member
Posts: 422
Joined: Wed May 16, 2012 3:36 pm
Location: Salinas, CA

Re: GHOST Critical alert for all Linux users!

#4 Post by bit_twiddler » Thu Jan 29, 2015 1:55 am

A friend who works in the computer security area sent me
the following shell script which you can use on RHEL/CENTOS/SL/etc to determine
if your system is at risk:


#!/bin/bash
#Version 3

echo "Installed glibc version(s)"

rv=0
for glibc_nvr in $( rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' glibc ); do
glibc_ver=$( echo "$glibc_nvr" | awk -F- '{ print $2 }' )
glibc_maj=$( echo "$glibc_ver" | awk -F. '{ print $1 }')
glibc_min=$( echo "$glibc_ver" | awk -F. '{ print $2 }')

echo -n "- $glibc_nvr: "
if [ "$glibc_maj" -gt 2 -o \
\( "$glibc_maj" -eq 2 -a "$glibc_min" -ge 18 \) ]; then
# fixed upstream version
echo 'not vulnerable'
else
# all RHEL updates include CVE in rpm %changelog
if rpm -q --changelog "$glibc_nvr" | grep -q 'CVE-2015-0235'; then
echo "not vulnerable"
else
echo "vulnerable"
rv=1
fi
fi
done

if [ $rv -ne 0 ]; then
cat <<EOF

This system is vulnerable to CVE-2015-0235. <https://access.redhat.com/security/cve/CVE-2015
-0235>
Please refer to <https://access.redhat.com/articles/1332213> for remediation steps
EOF
fi

exit $rv
Daily Drivers: W520 i7-2860QM | T420 FHD IPS i7-2640m | W701
Others: W510 | T400 | W500 WUXGA | 701C (on its shrine) | R61 14W (in the boneyard)
Non-TP: Dell T7500 (workstation), Dell m7510
Currently Experimenting With: T420s

Dekks
Junior Member
Junior Member
Posts: 434
Joined: Thu Jun 26, 2014 9:38 am
Location: Birmingham, UK

Re: GHOST Critical alert for all Linux users!

#5 Post by Dekks » Thu Jan 29, 2015 2:19 am

Latest News: While still being a significant bug the calls related to the bug have been depreciated for a few years now & certainly GHOST isn't upto the impact of heartbleed.

Secondly someone patched the bug back in 2013 but never highlighted it as a security issue so any legacy installs such as Ubuntu 12.04 LTS never got the patched versions. If your on a rolling distro with glibc >2.17 then your OK.
Arch//Openbox R61//GNOME 3 X201i/X230 Tablet //Spectrwm T61/X61/X61 Debian 9/X32
Work - Win7/X220T BunsenLabs T43
Retired T60p/T60/X30/X31/X61S RIP T400/T21/X61T/X200T

rumbero
Junior Member
Junior Member
Posts: 451
Joined: Fri Mar 04, 2011 7:02 pm
Location: Barcelona, Spain

Re: GHOST Critical alert for all Linux users!

#6 Post by rumbero » Thu Jan 29, 2015 2:43 am

Furthermore, most desktop users should be on the safe size since long time already, as desktop release versions are typically based on much more current glibc versions.
If there is any reason for concern, it is mainly because of server systems which are not typically running the latest Linux software but, instead, a known stable release version with already a few years age...
Broken T23 2647-9RG | A few 14.1" T61 Frankenpads | Two 15" Frankenpad T61+ with UXGA IPS Display

Norway Pad
ThinkPadder
ThinkPadder
Posts: 1162
Joined: Mon Jul 13, 2009 2:50 pm
Location: Meridian, ID & Oyer, Norway
Contact:

Re: GHOST Critical alert for all Linux users!

#7 Post by Norway Pad » Thu Jan 29, 2015 8:33 am

Does this also affect Debian based distros, line Antix? Debian 7 is mentioned, but I wouldn't have any idea where to even look for a patch.
Bjorn
THINKPAD collector. Only missing a proper RetroThinkpad.

bit_twiddler
Junior Member
Junior Member
Posts: 422
Joined: Wed May 16, 2012 3:36 pm
Location: Salinas, CA

Re: GHOST Critical alert for all Linux users!

#8 Post by bit_twiddler » Thu Jan 29, 2015 1:52 pm

Does this also affect Debian based distros, line Antix? Debian 7 is mentioned, but I wouldn't have any idea where to even look for a patch.
What happens when you do:

sudo apt-get update
sudo apt-get upgrade
Daily Drivers: W520 i7-2860QM | T420 FHD IPS i7-2640m | W701
Others: W510 | T400 | W500 WUXGA | 701C (on its shrine) | R61 14W (in the boneyard)
Non-TP: Dell T7500 (workstation), Dell m7510
Currently Experimenting With: T420s

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests