Bug 1253695

Summary: nspr: Incorrect check for SUID/SGID/fscaps programs
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carnil, slawomir
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:43:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1253746    
Bug Blocks: 1253719    

Description Adam Mariš 2015-08-14 13:19:43 UTC
Florian Weimer reported that bug 1253692 is fixed only partially.
fscaps are not considered on GNU/Linux, and a check like getuid() == geteuid() misses cases where the program has switched UIDs completely.

CVE request:
https://bugzilla.mozilla.org/show_bug.cgi?id=1194678

Comment 1 Adam Mariš 2015-08-14 14:49:57 UTC
Created nspr tracking bugs for this issue:

Affects: fedora-all [bug 1253746]