Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558422 - <sys-cluster/glusterfs-3.5.4: fuse check return value of setuid
Summary: <sys-cluster/glusterfs-3.5.4: fuse check return value of setuid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: http://www.openwall.com/lists/oss-sec...
Whiteboard: B3 [noglsa]
Keywords:
Depends on: CVE-2014-3619
Blocks:
  Show dependency tree
 
Reported: 2015-08-22 12:17 UTC by Agostino Sarubbo
Modified: 2017-04-30 20:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-08-22 12:17:39 UTC
From ${URL} :

setuid() sets the effective user ID of the calling process.  
If the effective UID of the caller is root, the real UID and
saved set-user-ID are also set. On success, zero is returned.
On error, -1 is returned, and errno is set appropriately.

Note: there are cases where setuid() can fail even when the 
caller is UID 0; it is a grave security error to omit checking
for a failure return from setuid(). if an environment limits 
the number of processes a user can have, setuid() might fail if
the target uid already is at the limit.

Can we have CVE assigned to this ?

Upstream Ref: 

http://review.gluster.org/#/c/10780/
https://github.com/gluster/glusterfs/commit/b5ceb1a9de9af563b0f91e2a3138fa5a95cad9f6



@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 Ultrabug gentoo-dev 2015-08-28 09:42:04 UTC
updated dependencies, if you agree to proceed with 3.5.4 stabilization ?
Comment 2 Yury German Gentoo Infrastructure gentoo-dev 2017-04-30 20:18:38 UTC
GLSA Vote: No

No longer in tree, all cleaned.