Bug 1452050 (CVE-2016-10374)

Summary: CVE-2016-10374 perltidy: Uses current working directory without symlink-attack protection
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dkholia, jplesnik, paul, perl-devel, perl-maint-list, ppisar, psabata
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-15 07:56:13 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: 1452051    
Bug Blocks: 1452052    

Description Andrej Nemec 2017-05-18 08:48:27 UTC
perltidy relies on the current working directory for certain output files and does not have a symlink-attack protection mechanism, which allows local users to overwrite arbitrary files by creating a symlink, as demonstrated by creating a perltidy.ERR symlink that the victim cannot delete.

References:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862667
http://perltidy.sourceforge.net/ChangeLog.html

Comment 1 Andrej Nemec 2017-05-18 08:49:08 UTC
Created perltidy tracking bugs for this issue:

Affects: fedora-all [bug 1452051]

Comment 2 Dhiru Kholia 2017-06-15 07:58:00 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.