From: Richard Purdie <rpurdie@rpsys.net>
To: Paul Sokolovsky <pmiscml@gmail.com>
Cc: openembedded-devel@openembedded.org
Subject: Re: [ALERT] Security vulnerability with recent OE bitbake.conf changes
Date: Thu, 03 May 2007 14:16:39 +0100 [thread overview]
Message-ID: <1178198199.6312.30.camel@localhost.localdomain> (raw)
In-Reply-To: <35653307.20070503154732@gmail.com>
On Thu, 2007-05-03 at 15:47 +0300, Paul Sokolovsky wrote:
> Hello openembedded-devel,
>
> A commit made some time ago,
>
> http://lists.linuxtogo.org/pipermail/openembedded-commits/2007-April/004912.html
>
> introduced a hole which may lead to unnoticed security vulnerabilities
> slipping into the packages/images produced. Specifically, it defines a
> random application of a random suite to be used for resolving patching
> conflicts/failures. If you don't happen to have that random tool,
> patching failure will be silently swallowed, leading to any adverse
> effects imaginable - from compile failure to the mentioned security
> vulnerabilities.
Patch failure should not be silently swallowed, the builds should abort.
If they don't, we need to fix that underlying problem.
FWIW, your first solution using SHELLRCCMD won't actually work due to
the way IO redirection is done in recent bitbake.
Your second solution of adding the DEPENDS is impractical due to the
amount of -native packages it would require.
So we need to find the real problem and fix that, probably somewhere in
patch.bbclass an error code isn't being propagated at a guess.
I will also hint at the use of PATCH_RESOLVER = "noop" which means the
user gets the old behaviour of patch failure aborts the build with no
help from any resolver. It should have always been the default but
wasn't. I'm not sure what the current default is but we can change it to
that if its not.
Cheers,
Richard
next prev parent reply other threads:[~2007-05-03 13:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-03 12:47 [ALERT] Security vulnerability with recent OE bitbake.conf changes Paul Sokolovsky
2007-05-03 13:07 ` Richard Purdie
2007-05-03 13:16 ` Richard Purdie [this message]
2007-05-03 13:42 ` Paul Sokolovsky
2007-05-07 4:29 ` Justin Patrin
2007-05-08 12:30 ` Richard Purdie
2007-05-08 17:35 ` Justin Patrin
2007-05-08 13:11 ` Paul Sokolovsky
2007-05-11 17:00 ` Paul Sokolovsky
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=1178198199.6312.30.camel@localhost.localdomain \
--to=rpurdie@rpsys.net \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
--cc=pmiscml@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox