Bug 1074720 (CVE-2014-2277) - CVE-2014-2277 perltidy: insecure temporary file creation
Summary: CVE-2014-2277 perltidy: insecure temporary file creation
Keywords:
Status: NEW
Alias: CVE-2014-2277
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1074721 1074722 1074723
Blocks: 1072135
TreeView+ depends on / blocked
 
Reported: 2014-03-11 00:53 UTC by Murray McAllister
Modified: 2020-03-04 11:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Murray McAllister 2014-03-11 00:53:48 UTC
Jakub Wilk discovered that perltidy's make_temporary_filename() function insecurely created temporary files via the use of the tmpnam() function. A local attacker could use this flaw to perform a symbolic link attack.

Fix from Don Armstrong: http://git.donarmstrong.com/?p=perltidy.git;a=blob;f=debian/patches/fix_insecure_tmpnam_usage_740670

Comment 1 Murray McAllister 2014-03-11 00:54:50 UTC
MITRE assigned CVE-2014-2277 to this issue:

http://seclists.org/oss-sec/2014/q1/533

Comment 2 Murray McAllister 2014-03-11 00:56:09 UTC
Created perltidy tracking bugs for this issue:

Affects: fedora-all [bug 1074721]
Affects: epel-5 [bug 1074722]

Comment 5 Fedora Update System 2014-03-24 06:37:23 UTC
perltidy-20130922-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2014-03-24 06:39:20 UTC
perltidy-20130922-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Murray McAllister 2014-07-17 04:47:47 UTC
Statement:

This issue affects the versions of perltidy as shipped with Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this issue as having Low security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/

Comment 8 Fedora Update System 2014-12-11 06:33:59 UTC
perltidy-20070801-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.