hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1994) Linux task-controller determines its own path insecurely
Date Wed, 04 Aug 2010 22:42:17 GMT
Linux task-controller determines its own path insecurely
--------------------------------------------------------

                 Key: MAPREDUCE-1994
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1994
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: security, task-controller
    Affects Versions: 0.22.0
            Reporter: Todd Lipcon
            Priority: Critical


The task-controller uses argv[0] to determine its own path, and then calls stat() on that.
Instead it should stat("/proc/self/exe") directly. This is important since argv[0] can be
spoofed to point to another program and thus either fool the autodetection of HADOOP_HOME
or evade various permissions checks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message