Bug 1284922

Summary: perl-IPTables-Parse: insecure temporary file use
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: mitr, mprpic, perl-devel, tremble
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: IPTables-Parse 1.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-24 13:49:22 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: 1267963, 1284923, 1284924    
Bug Blocks:    

Description Martin Prpič 2015-11-24 13:18:52 UTC
A flaw was fixed in perl-IPTables-Parse:

(Miloslav Trmač) Fixed a vulnerability to not use predictable names for temporary files. This vulnerability would allow an attacker on a multi- user system to set up symlinks to overwrite any file the current user has write access to. If a user manually overrides the temporary file locations with the 'iptout' and 'ipterr' hash keys, it is recommended to not use predictable names either.

CVE request:

http://seclists.org/oss-sec/2015/q4/366

Upstream patch:

https://github.com/mtrmac/IPTables-Parse/commit/b400b976d81140f6971132e94eb7657b5b0a2b87

External References:

https://metacpan.org/source/MRASH/IPTables-Parse-1.6/Changes#L3

Comment 1 Martin Prpič 2015-11-24 13:19:17 UTC
Created perl-IPTables-Parse tracking bugs for this issue:

Affects: fedora-all [bug 1284923]
Affects: epel-all [bug 1284924]

Comment 2 Miloslav Trmač 2015-11-24 13:27:16 UTC
This is already #1267962, isn’t it?

Comment 3 Martin Prpič 2015-11-24 13:49:22 UTC
(In reply to Miloslav Trmač from comment #2)
> This is already #1267962, isn’t it?

Bah, you're right. Sorry about that. Thanks for closing all of these.

*** This bug has been marked as a duplicate of bug 1267962 ***