Bug 240396 (CVE-2007-2654)

Summary: CVE-2007-2654: xfsdump file permissions issue
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: xfsdumpAssignee: Eric Sandeen <esandeen>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: fedora-security-list
Target Milestone: ---Keywords: Patch, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xfsdump-2.2.42-2.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-11 12:59:58 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:
Attachments:
Description Flags
Patch from SUSE update none

Description Ville Skyttä 2007-05-17 07:49:31 UTC
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-2654

"xfs_fsr in xfsdump creates a temporary directory with insecure permissions,
which allows local users to read or overwrite arbitrary files on xfs filesystems."

Patch from SUSE update attached.

Comment 1 Ville Skyttä 2007-05-17 07:49:31 UTC
Created attachment 154896 [details]
Patch from SUSE update

Comment 2 Russell Cattelan 2007-06-20 17:12:22 UTC
Sorry didn't see this.
I'll get this pulled in soon.


Comment 3 Eric Sandeen 2007-08-22 19:09:09 UTC
This is fixed in most recent xfsprogs 2.2.45, as of a couple months ago:

http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/xfsdump/fsr/xfs_fsr.c.diff?r1=1.27;r2=1.28

I've got most recent xfsprogs in F8test and F7 updates-testing; I'll try to get
it pushed to F6 as well.

Comment 4 Eric Sandeen 2007-09-11 12:59:58 UTC
xfsdump-2.2.42-2.fc6 is now available in Fedora 6 Extras, and it resolves this
issue.

Thanks,

-Eric