PDA

View Full Version : Shellshock bash patches and version differences.



cmsjamesh
06-Oct-2014, 04:06
Hi All,

Checking the bash --version before and after installing the patch, I have found the versioning is different to what I would expect.

user@testing:~> which bash
/bin/bash
user@testing:~>/bin/bash --version
GNU bash, version 3.1.17(1)-release (x86_64-suse-linux)
Copyright (C) 2005 Free Software Foundation, Inc.
user@testing:~> rpm -qa | grep bash
bash-3.1-24.34.1

Is this because SuSE have patched the installed version but incremented the RPM versioning?

It seems the patch is good as both tests fail but I am curious to the versioning conflict.

malcolmlewis
06-Oct-2014, 14:41
Hi All,

Checking the bash --version before and after installing the patch, I have found the versioning is different to what I would expect.

user@testing:~> which bash
/bin/bash
user@testing:~>/bin/bash --version
GNU bash, version 3.1.17(1)-release (x86_64-suse-linux)
Copyright (C) 2005 Free Software Foundation, Inc.
user@testing:~> rpm -qa | grep bash
bash-3.1-24.34.1

Is this because SuSE have patched the installed version but incremented the RPM versioning?

It seems the patch is good as both tests fail but I am curious to the versioning conflict.
Hi
Yes, generally the release versions don't change and fixes are backported. You need to look at the change log;


rpm -qa --changelog| grep bash