3 ms·
It's not just you. The fact that an environment variable can override e.g. "git" to do something else is a real problem requiring separate protection. However
by notacoward 12y ago
It's not just you. The fact that an environment variable can override e.g. "git" to do something else is a real problem requiring separate protection. However, that's effectively PATH injection rather than code injection so it's already addressed in many cases.
- increment_i 12y agoI might be misunderstanding this, but this can be accomplished through http request headers?
- riquito 12y agoIt would be a malformed http header and most libraries would ignore it or raise an error.
- JoshTriplett 12y agoExcept that most environments already filter out attempts to control PATH, LD_LIBRARY_PATH, and similar; they don't filter out "git".
- notacoward 12y agoI agree. In the next few months, we'll probably be finding out about some of the cases where neither existing sanitization nor the half-fix for this problem was sufficient to prevent exploits in this family. :(