From: Robert Yang <liezhi.yang@windriver.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] bash: Fix CVE-2014-7169
Date: Wed, 8 Oct 2014 11:53:45 +0800 [thread overview]
Message-ID: <5434B549.6030307@windriver.com> (raw)
In-Reply-To: <1562578.oLJUK6xils@peggleto-mobl5.ger.corp.intel.com>
On 10/02/2014 10:28 PM, Paul Eggleton wrote:
> On Thursday 02 October 2014 13:28:54 Paul Eggleton wrote:
>> On Thursday 02 October 2014 00:07:41 Robert Yang wrote:
>>> From: Khem Raj <raj.khem@gmail.com>
>>>
>>> This is a followup patch to incomplete CVE-2014-6271 fix
>>> code execution via specially-crafted environment
>>>
>>> Change-Id: Ibb0a587ee6e09b8174e92d005356e822ad40d4ed
>>> (From OE-Core master rev: 76a2d6b83472995edbe967aed80f0fcbb784b3fc)
>>>
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>>> ---
>>>
>>> .../bash/bash-3.2.48/cve-2014-7169.patch | 16
>>> ++++++++++++++++
>>> meta/recipes-extended/bash/bash_3.2.48.bb | 1 +
>>> 2 files changed, 17 insertions(+)
>>> create mode 100644
>>>
>>> meta/recipes-extended/bash/bash-3.2.48/cve-2014-7169.patch
>>>
>>> diff --git a/meta/recipes-extended/bash/bash-3.2.48/cve-2014-7169.patch
>>> b/meta/recipes-extended/bash/bash-3.2.48/cve-2014-7169.patch new file mode
>>> 100644
>>> index 0000000..2e734de
>>> --- /dev/null
>>> +++ b/meta/recipes-extended/bash/bash-3.2.48/cve-2014-7169.patch
>>> @@ -0,0 +1,16 @@
>>> +Taken from http://www.openwall.com/lists/oss-security/2016/09/25/10
>>> +
>>> +Upstream-Status: Backport
>>> +Index: bash-3.2.48/parse.y
>>> +===================================================================
>>> +--- bash-3.2.48.orig/parse.y 2008-04-29 18:24:55.000000000 -0700
>>> ++++ bash-3.2.48/parse.y 2014-09-26 13:07:31.956080056 -0700
>>> +@@ -2503,6 +2503,8 @@
>>> + FREE (word_desc_to_read);
>>> + word_desc_to_read = (WORD_DESC *)NULL;
>>> +
>>> ++ eol_ungetc_lookahead = 0;
>>> ++
>>> + last_read_token = '\n';
>>> + token_to_read = '\n';
>>> + }
>>> diff --git a/meta/recipes-extended/bash/bash_3.2.48.bb
>>> b/meta/recipes-extended/bash/bash_3.2.48.bb index 5849ed0..e6a04cd 100644
>>> --- a/meta/recipes-extended/bash/bash_3.2.48.bb
>>> +++ b/meta/recipes-extended/bash/bash_3.2.48.bb
>>> @@ -13,6 +13,7 @@ SRC_URI =
>>> "${GNU_MIRROR}/bash/bash-${PV}.tar.gz;name=tarball \
>>> file://build-tests.patch \
>>>
>>> file://test-output.patch \
>>> file://cve-2014-6271.patch;striplevel=0 \
>>>
>>> + file://cve-2014-7169.patch \
>>>
>>> file://run-ptest \
>>>
>>> "
>>
>> Unfortunately these two only patch the 3.x version of the bash recipe,
>> leaving the 4.x version unpatched.
>
> I have just sent fixes for this.
>
Thank you very much, I just came back from the holiday.
// Robert
> Cheers,
> Paul
>
prev parent reply other threads:[~2014-10-08 3:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-02 7:07 [dora] [PATCH 0/3] fixes for bash and apmd Robert Yang
2014-10-02 7:07 ` [PATCH 1/3] apmd.service: Fix typo (not mandatory EnvironmentFile prefix) Robert Yang
2014-10-02 7:07 ` [PATCH 2/3] bash: fix CVE-2014-6271 Robert Yang
2014-10-02 7:07 ` [PATCH 3/3] bash: Fix CVE-2014-7169 Robert Yang
2014-10-02 12:28 ` Paul Eggleton
2014-10-02 14:28 ` Paul Eggleton
2014-10-08 3:53 ` Robert Yang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5434B549.6030307@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.