Bug 320041 (CVE-2007-5191)

Summary: CVE-2007-5191 util-linux (u)mount doesn't drop privileges properly when calling helpers
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: kreilly, kzak, nghwhite
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-5191
Whiteboard:
Fixed In Version: 2.13-0.54.1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-14 15:01:36 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: 320131, 320141, 324421, 324431, 324441, 324451, 324461, 324471    
Bug Blocks:    

Description Tomas Hoger 2007-10-05 12:41:29 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-5191 to the following vulnerability:

mount and umount in util-linux call the setuid and setgid functions in the
wrong order and do not check the return values, which might allow attackers to
gain privileges via helpers such as mount.nfs.

References:
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=ebbeb2c7ac1b00b6083905957837a271e80b187e

Comment 4 Fedora Update System 2007-10-10 19:33:30 UTC
util-linux-2.13-0.54.1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Red Hat Product Security 2008-01-14 15:01:36 UTC
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2007-0969.html

Fedora:
  https://admin.fedoraproject.org/updates/F7/FEDORA-2007-2462