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: impact=moderate,public=20131108,reported=20131210,source=debian,cvss2=3.7/AV:L/AC:H/Au:N/C:P/I:P/A:P,fedora-19/ack=affected,fedora-18/ack=notaffected,epel-all/ack=notaffected
Fixed In Version: ack-2.12-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-01 13:37:17 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1040229    
Bug Blocks:    

Description Murray McAllister 2013-12-10 20:33:43 EST
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.

Comment 1 Murray McAllister 2013-12-10 20:35:30 EST
CVE request: http://www.openwall.com/lists/oss-security/2013/12/10/10
Comment 2 Murray McAllister 2013-12-10 20:36:12 EST
Created ack tracking bugs for this issue:

Affects: fedora-19 [bug 1040229]
Comment 3 Fedora Update System 2013-12-19 20:48:33 EST
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-19 20:49:31 EST
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.