News for hackers. Stuff that matters.
Re:CVE-2014-6271: Remote code execution through bash by sauere on Wednesday September 24, 2014 @12:31PM (#8362392)
> Is `sudo apt-get update && sudo apt-get upgrade` sufficient on an Ubuntu server?

Yes. Patch is out.

Re:CVE-2014-6271: Remote code execution through bash by pjungwir on Wednesday September 24, 2014 @12:48PM (#8362509)
It appears that Linode changes /etc/apt/sources.list to point to their own mirror of Ubuntu repositories, and as far as I can tell those are not updated yet. So I guess the solution is to wait or edit sources.list. Just FYI if you're on their systems!
Re:CVE-2014-6271: Remote code execution through bash by teach on Wednesday September 24, 2014 @01:17PM (#8362706)
Just did an update on my Linode and one of the updates was

    replace bash 4.1-2ubuntu3
So seems like it's there now.
Re:CVE-2014-6271: Remote code execution through bash by steveklabnik on Wednesday September 24, 2014 @01:52PM (#8362946)
https://launchpad.net/ubuntu/+source/bash/4.3-7ubuntu1.1 seems to be at least one version of the fix, I'm unsure about LTS and other releases.
Re:CVE-2014-6271: Remote code execution through bash by sp332 on Wednesday September 24, 2014 @03:35PM (#8363622)
http://www.ubuntu.com/usn/usn-2362-1/

Ubuntu 14.04 LTS: bash 4.3-7ubuntu1.1

Ubuntu 12.04 LTS: bash 4.2-2ubuntu2.2

Ubuntu 10.04 LTS: bash 4.1-2ubuntu3.1

For releases in-between, you should be able to manually download one of those versions from http://archive.ubuntu.com/ubuntu/pool/main/b/bash/ and install it. I wonder how many vulnerable boxes there are that won't get these updates because Ubuntu stops support after 9 months. There must be tons of boxes running 13.10, it's not even a year old yet.

Re:CVE-2014-6271: Remote code execution through bash by merlinmike on Friday September 26, 2014 @12:32AM (#8371342)
For 13.10 do this, selecting correct architecture:

----------------------------------------------------------

amd64

wget archive.ubuntu.com/ubuntu/pool/main/b/bash/bash_4.2-2ubuntu2.3_amd64.deb

sudo dpkg -i bash_4.2-2ubuntu2.3_amd64.deb

----------------------------------------------------------

i386

wget archive.ubuntu.com/ubuntu/pool/main/b/bash/bash_4.2-2ubuntu2.3_i386.deb

sudo dpkg -i bash_4.2-2ubuntu2.3_i386.deb

Re:CVE-2014-6271: Remote code execution through bash by bphogan on Wednesday September 24, 2014 @06:33PM (#8364545)
It's for that reason that I just ignore anything that's not an LTS release. It's never worth the hassle for me.
Re:CVE-2014-6271: Remote code execution through bash by traviscj on Wednesday September 24, 2014 @01:45PM (#8362897)
Depends on whether you have mirrors.linode.com or the ubuntu servers set up in sources.list. I had to swap mine out.
Re:CVE-2014-6271: Remote code execution through bash by teach on Wednesday September 24, 2014 @02:09PM (#8363075)
Well, I didn't even know about mirrors.linode.com. Mine were still the ubuntu default servers.

I guess apt-get from one of Linode's mirrors saves bandwidth? Or is it just more polite?

Re:CVE-2014-6271: Remote code execution through bash by aaronem on Wednesday September 24, 2014 @03:14PM (#8363504)
It probably ensures that you get the Linode-customized flavors of packages where such exist, so that, for example, you don't inadvertently upgrade your kernel to a build without the ability to mount Linode disks.
Re:CVE-2014-6271: Remote code execution through bash by crylon on Wednesday September 24, 2014 @05:33PM (#8364270)
Linode can't modify packages; they're signed by the upstream distro. (Unless Linode added a key of their own to your apt keychain (apt-key list), but I've never seen that.)
Re:CVE-2014-6271: Remote code execution through bash by iancarroll on Wednesday September 24, 2014 @03:47PM (#8363684)
It's also meant to help you and Linlde save bandwidth!
Re:CVE-2014-6271: Remote code execution through bash by dbbolton on Wednesday September 24, 2014 @02:07PM (#8363062)
Or just manually install the new version with dpkg.
Re:CVE-2014-6271: Remote code execution through bash by drzaiusapelord on Wednesday September 24, 2014 @03:20PM (#8363540)
If you just want to update that package then:

apt-get update

apt-get install --only-upgrade bash

fwiw, Linode's mirrors are up with the latest version yet Digital Ocean's are not. I lose faith in DO everytime I remote into my VM. They just seen like an amateurish shop.

Re:CVE-2014-6271: Remote code execution through bash by lefthand on Wednesday September 24, 2014 @05:35PM (#8364277)
My droplets in SFO have been updated. My droplets in nyc1 and nyc2 haven't.
Re:CVE-2014-6271: Remote code execution through bash by lefthand on Wednesday September 24, 2014 @07:38PM (#8364755)
And NY is updated for me as well now. Wondering why it took so long after the other DCs were updated.
Re:CVE-2014-6271: Remote code execution through bash by icelancer on Thursday September 25, 2014 @01:41AM (#8365803)
Checking in 8 hours later - my droplet on nyc1 is still affected.
Re:CVE-2014-6271: Remote code execution through bash by svankmajer on Wednesday September 24, 2014 @03:33PM (#8363600)
I successfully upgraded bash on my droplets a couple minutes ago.
Re:CVE-2014-6271: Remote code execution through bash by sejje on Wednesday September 24, 2014 @05:00PM (#8364107)
Seconded. I've been patched for ~40 minutes on DO.
Re:CVE-2014-6271: Remote code execution through bash by maximumoverload on Wednesday September 24, 2014 @06:29PM (#8364537)
I am on linode and precise LTS. I did this, and I got no bash update. What am I doing wrong?

edit: and how do I know if I am still vulnerable?

edit2: ok, this is the test

  env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
and apparently I am already patched. So that's good.
Re:CVE-2014-6271: Remote code execution through bash by 15characterlimi on Wednesday September 24, 2014 @11:24PM (#8365417)
dpkg -l | grep bash

WIll tell you which version of bash is installed, for precise you should have bash 4.2-2ubuntu2.2

Re:CVE-2014-6271: Remote code execution through bash by bphogan on Wednesday September 24, 2014 @06:33PM (#8364546)
DigitalOcean uses mirrors too, so you have to change your /etc/apt/sources.list file or wait.
Re:CVE-2014-6271: Remote code execution through bash by atmosx on Wednesday September 24, 2014 @06:46PM (#8364597)
I updated debian on DO like 25 minutes ago and had a crystal-clear bash update there. So I guess they updated their mirrors.
Re:CVE-2014-6271: Remote code execution through bash by agwa on Wednesday September 24, 2014 @07:15PM (#8364689)
Debian security updates are distributed from security.debian.org, which is separate from the normal Debian mirror network, and Debian discourages the mirroring of security.debian.org because security updates are time sensitive. Hopefully Digital Ocean is not mirroring security.debian.org.
Re:CVE-2014-6271: Remote code execution through bash by Danieru on Wednesday September 24, 2014 @12:54PM (#8362549)
You should also reboot to ensure no running instances of bash are vulnerable.
Re:CVE-2014-6271: Remote code execution through bash by cesarb on Wednesday September 24, 2014 @01:07PM (#8362647)
If I understood this bug correctly, it happens during bash's initialization. If I'm right, already running instances of bash are not vulnerable, and new instances will use the fixed executable, so no reboot would be necessary for this bug.
Re:CVE-2014-6271: Remote code execution through bash by dfc on Wednesday September 24, 2014 @03:34PM (#8363610)

  $ apt-cache show debian-goodies 
    <SNIP>
    checkrestart    - Help to find and restart processes which are using old
                      versions of upgraded files (such as libraries)
Re:CVE-2014-6271: Remote code execution through bash by bdarnell on Wednesday September 24, 2014 @01:10PM (#8362670)
The vulnerability is in bash startup; any already-running shells should be safe.
Re:CVE-2014-6271: Remote code execution through bash by sauere on Wednesday September 24, 2014 @01:06PM (#8362638)
Good point.