Skip to content
Tcl Source Code Artifact [fecd15c545]
Login

Artifact [fecd15c545]

Artifact fecd15c5459744bf0fe44a78d302a76c823308f9:

Ticket change [fecd15c545] - New ticket [772581ffffffffff|772581ffff] <i>children inherit 2 open pipes (security?)</i>. by xtifr on 2003-07-16 20:23:55.
D 2003-07-16T20:23:55
J assignee andreas_kupries
J cmimetype text/plain
J comment As\sreported\sby\sDebian's\sSELinux\s(Security\sEnhanced\nLinux)\smaintainer,\sRussell\sCoker,\sin\n<http://bugs.debian.org/201062>:\sthe\sthreaded\s*nix\nversions\sof\stcl\sseem\sto\sopen\sa\spair\sof\spipes,\sand\sthe\nfilehandles\sare\snot\sset\sto\sclose-on-exec.\s\sQuoting\nRussell:\s"If\sthe\sprogram\sruns\sin\sa\sdifferent\ssecurity\ncontext\sthen\sthese\sopen\sfile\shandles\smay\sallow\sthe\nprogram\sto\sinterfere\swith\sthe\soperation\sof\sexpect\s[or\ntclsh\sor\swhatever]\sand\stherefore\sgain\sundesired\saccess\nto\sthe\ssystem."\n\nNormally,\sof\scourse,\spipes\sshould\sbe\sinherited\sby\nchildren\s(that's\stheir\swhole\spurpose),\sbut\sthese\spipes\nseem\sto\sbe\sused\sjust\sfor\sinternal\scommunications\nbetween\sthreads,\sas\sfar\sas\sI\scan\stell.\s\sI'm\snot\s100%\nsure\sthis\sis\sa\sbug,\sbut\sif\sit\sis,\sthen\sI'm\sfairly\ssure\nit's\san\simportant\sone,\sand\sshould\sprobably\sbe\sfixed\nbefore\s8.4.4\sis\sreleased.\n\ncheers
J foundin obsolete:\s8.4.3
J priority 5\sMedium
J resolution None
J status Open
J submitter xtifr
J subsystem 49.\sThreading
J title children\sinherit\s2\sopen\spipes\s(security?)
J type Bug
K 772581ffffffffffffffffffffffffffffffffff
U xtifr
Z 766b6ac783f61752d5e45155addb1164