Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via or IRC

Bug 540826

Summary: <dev-libs/libuv-1.4.2: incorrect revocation order while relinquishing privileges (CVE-2015-0278)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Severity: normal CC: hasufell, kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B2 [glsa cve]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2015-02-20 17:11:19 UTC
From ${URL} :

It was found [1] that libuv does not call setgoups before calling setuid/setgid.
This may potentially allow an attacker to gain elevated privileges.
Upstream fix for 0.10:


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Julian Ospald 2015-02-22 02:20:00 UTC
there is nothing to bump, this code is already in 1.4.0:

Comment 2 GLSAMaker/CVETool Bot gentoo-dev 2015-06-17 17:59:51 UTC
CVE-2015-0278 (
  libuv before 0.10.34 does not properly drop group privileges, which allows
  context-dependent attackers to gain privileges via unspecified vectors.
Comment 3 Julian Ospald 2015-10-26 12:28:36 UTC
please finalize this bug, the affected versions are gone
Comment 4 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2016-11-17 08:32:28 UTC
Upstream GitHub links confirm this is in 1.10.0 which is the oldest in Portage as well.
Comment 5 Kristian Fiskerstrand gentoo-dev Security 2016-11-17 09:47:20 UTC
(In reply to Aaron Bauman from comment #4)
> Upstream GitHub links confirm this is in 1.10.0 which is the oldest in
> Portage as well.

1.10.0 is the newest in the gentoo tree, not the oldest. But the version reference in CVE is for nodejs, not libuv, which has fix in 1.4.0 as described in comment 1.
Comment 6 GLSAMaker/CVETool Bot gentoo-dev 2016-11-17 10:09:48 UTC
This issue was resolved and addressed in
 GLSA 201611-10 at
by GLSA coordinator Aaron Bauman (b-man).