[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer resolved MAPREDUCE-1994.
-----------------------------------------

    Resolution: Fixed

This is probably fixed by now, but even so, hadoop 1.x is dead. Closing.

> 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
>            Assignee: Todd Lipcon
>         Attachments: mapreduce-1994-prelim.txt
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to