public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] EAPI change: Call ebuild functions from trusted working directory
@ 2008-10-09 19:03 Robert Buchholz
  2008-10-13 17:42 ` Donnie Berkholz
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Buchholz @ 2008-10-09 19:03 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]

Hello,

currently, PMS section 10.1 states:

  Some functions may assume that their initial working directory is
  set to a particular location; these are noted below.
  If no initial working directory is mandated, it may be set to
  anything and the ebuild must not rely upon a particular location
  for it.

Please consider the following addition to this paragraph:

  The ebuild can rely that the chosen initial working direcotry is
  a trusted location that is not world-writable and owned by
  a privileged user and group.

This change affects all pkg_ functions.

Rationale:
This feature presents a security hardening to work around 
vulnerabilities in ebuilds and applications called by ebuilds, and the 
Gentoo Security Team considers this the official solution to
bug 239560 / GLSA 200810-02.

I would like:
 * everyone to comment on the change and propose changes to the wording
 * council to vote on this change to EAPI-0, -1 and -2.

Portage implements this in 2.1.4.5 and 2.2_rc12, Paludis in 0.30.2.
I have not heard back from Brian on pkgcore (because this issue has been 
disclosed to him on a really short notice).

Thanks,
Robert

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-24 11:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-09 19:03 [gentoo-dev] EAPI change: Call ebuild functions from trusted working directory Robert Buchholz
2008-10-13 17:42 ` Donnie Berkholz
2008-10-13 18:20   ` Wulf C. Krueger
2008-10-13 18:56     ` Donnie Berkholz
2008-10-13 18:28   ` Ciaran McCreesh
2008-10-17  0:41     ` Robert Buchholz
2008-10-24 11:36       ` Robert Buchholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox