Overview
| Artifact ID: | fecd15c5459744bf0fe44a78d302a76c823308f9 |
|---|---|
| Ticket: | 772581ffffffffffffffffffffffffffffffffff
children inherit 2 open pipes (security?) |
| User & Date: | xtifr on 2003-07-16 20:23:55 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
As reported by Debian's SELinux (Security Enhanced Linux) maintainer, Russell Coker, in <http://bugs.debian.org/201062>: the threaded *nix versions of tcl seem to open a pair of pipes, and the filehandles are not set to close-on-exec. Quoting Russell: "If the program runs in a different security context then these open file handles may allow the program to interfere with the operation of expect [or tclsh or whatever] and therefore gain undesired access to the system." Normally, of course, pipes should be inherited by children (that's their whole purpose), but these pipes seem to be used just for internal communications between threads, as far as I can tell. I'm not 100% sure this is a bug, but if it is, then I'm fairly sure it's an important one, and should probably be fixed before 8.4.4 is released. cheers
- foundin changed to: "obsolete: 8.4.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "xtifr"
- subsystem changed to: "49. Threading"
- title changed to: "children inherit 2 open pipes (security?)"
- type changed to: "Bug"