Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23766454B for ; Sun, 12 Jun 2011 19:45:15 +0000 (UTC) Received: (qmail 21522 invoked by uid 500); 12 Jun 2011 19:45:15 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 21487 invoked by uid 500); 12 Jun 2011 19:45:15 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 21478 invoked by uid 99); 12 Jun 2011 19:45:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 19:45:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 19:45:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E4ACF415C84 for ; Sun, 12 Jun 2011 19:44:51 +0000 (UTC) Date: Sun, 12 Jun 2011 19:44:51 +0000 (UTC) From: "Nigel Daley (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1269486379.1480.1307907891933.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <31616103.92741289269207798.JavaMail.jira@thor> Subject: [jira] [Assigned] (MAPREDUCE-2178) Race condition in LinuxTaskController permissions handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nigel Daley reassigned MAPREDUCE-2178: -------------------------------------- Assignee: Devaraj Das Assigning to Devaraj since he agreed to work on this. Thanks Devaraj! > Race condition in LinuxTaskController permissions handling > ---------------------------------------------------------- > > Key: MAPREDUCE-2178 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2178 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: security, task-controller > Affects Versions: 0.22.0 > Reporter: Todd Lipcon > Assignee: Devaraj Das > Priority: Blocker > Fix For: 0.22.0 > > Attachments: 0001-Amend-MAPREDUCE-2178.-Fix-racy-check-for-config-file.patch, 0002-Amend-MAPREDUCE-2178.-Check-argc-after-checks-for-pe.patch, 0003-Amend-MAPREDUCE-2178.-Check-result-of-chdir.patch, ac-sys-largefile.patch, mapreduce-2178-test-compile-fix.txt, mr-2178-0.22.txt, mr-2178-error-on-launch-fail.txt, mr-2178-y20-sortof.patch, racy-config-check-test-changes.txt > > > The linux-task-controller executable currently traverses a directory heirarchy and calls chown/chmod on the files inside. There is a race condition here which can be exploited by an attacker, causing the task-controller to improprly chown an arbitrary target file (via a symlink) to the user running a MR job. This can be exploited to escalate to root. > [this issue was raised and discussed on the security@ list over the last couple of months] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira