Bug 1040228 (CVE-2013-7069)

Summary: CVE-2013-7069 ack: code execution via .ackrc file
Product: [Other] Security Response Reporter: Murray McAllister <mmcallis>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: robinlee.sysu, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ack-2.12-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-01 18:37:17 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: 1040229    
Bug Blocks:    

Description Murray McAllister 2013-12-11 01:33:43 UTC
A flaw was found in the way ack, a tool similar to grep, processed .ackrc files. If a local user ran ack in an attacker-controlled directory, it would lead to arbitrary code execution with the privileges of the user running ack. This issue affects versions 2.00 to 2.10 (such as the version in Fedora 19), and should be fixed in version 2.12. It does not affect versions below 2.00 (such as those in EPEL).

https://github.com/petdance/ack2/issues/414 also provides further restrictions.

References:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731848
https://github.com/petdance/ack2/issues/399
https://metacpan.org/source/PETDANCE/ack-2.12/Changes
https://github.com/petdance/ack2/issues/414

Comment 1 Murray McAllister 2013-12-11 01:35:30 UTC
CVE request: http://www.openwall.com/lists/oss-security/2013/12/10/10

Comment 2 Murray McAllister 2013-12-11 01:36:12 UTC
Created ack tracking bugs for this issue:

Affects: fedora-19 [bug 1040229]

Comment 3 Fedora Update System 2013-12-20 01:48:33 UTC
ack-2.12-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 4 Fedora Update System 2013-12-20 01:49:31 UTC
ack-2.12-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.