Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45150 closed defect (fixed)

bash 4.3.24_0 critical security update

Reported by: hahn.seb@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: cooljeanius (Eric Gallager)
Port: bash

Description

CVE-2014-6271 is a critical vulnerability in bash. Attached patch applies the fix.

Attachments (1)

0001-Upgrade-bash-to-patchlevel-25-CVE-2014-6271.patch (1.2 KB) - added by hahn.seb@… 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: haspatch added
Owner: changed from macports-tickets@… to raimue@…
Version: 2.3.1

In the future, please Cc the port maintainers (port info --maintainers bash).

comment:2 Changed 10 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Thanks for the heads-up. Fixed in r125719.

comment:3 Changed 10 years ago by johndouthat@…

After installing 4.3.25 from MacPorts, bash still seems to be vulnerable

~ $ echo $BASH_VERSION
4.3.25(1)-release
~ $ env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test

I expected to see something like this: (from a patched Ubuntu 12.04 machine)

~$  echo $BASH_VERSION
4.2.25(1)-release
~$ env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test

comment:4 Changed 10 years ago by hahn.seb@…

Sorry about forgetting to CC the maintainer.

Fun, for me the exploit doesn't work anymore.

[ ~]$ echo $BASH_VERSION
4.3.25(1)-release
[ ~]$ env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test

comment:5 Changed 10 years ago by johndouthat@…

My mistake! I was running the wrong version of bash. Sincerest apologies.

~ $ env x='() { :;}; echo vulnerable' /opt/local/bin/bash -c "echo this is a test"
/opt/local/bin/bash: warning: x: ignoring function definition attempt
/opt/local/bin/bash: error importing function definition for `x'
this is a test
Last edited 10 years ago by johndouthat@… (previous) (diff)

comment:6 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.