[Python-checkins] python/dist/src/Doc/lib librexec.tex,1.18.8.1,1.18.8.2
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Tue, 27 Aug 2002 09:44:20 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv18990/Doc/lib
Modified Files:
Tag: release22-maint
librexec.tex
Log Message:
Add strong security warning about the rexec module.
Closes SF patch #600861.
Minor markup changes.
Index: librexec.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/librexec.tex,v
retrieving revision 1.18.8.1
retrieving revision 1.18.8.2
diff -C2 -d -r1.18.8.1 -r1.18.8.2
*** librexec.tex 31 May 2002 21:17:53 -0000 1.18.8.1
--- librexec.tex 27 Aug 2002 16:44:18 -0000 1.18.8.2
***************
*** 6,10 ****
-
This module contains the \class{RExec} class, which supports
\method{r_eval()}, \method{r_execfile()}, \method{r_exec()}, and
--- 6,9 ----
***************
*** 16,23 ****
can subclass \class{RExec} to add or remove capabilities as desired.
! \note{The \class{RExec} class can prevent code from performing
! unsafe operations like reading or writing disk files, or using TCP/IP
! sockets. However, it does not protect against code using extremely
! large amounts of memory or processor time.}
\begin{classdesc}{RExec}{\optional{hooks\optional{, verbose}}}
--- 15,35 ----
can subclass \class{RExec} to add or remove capabilities as desired.
! \begin{notice}[warning]
! While the \module{rexec} module is designed to perform as described
! below, it does have a few known vulnerabilities which could be
! exploited by carefully written code. Thus it should not be relied
! upon in situations requiring ``production ready'' security. In such
! situations, execution via sub-processes or very careful
! ``cleansing'' of both code and data to be processed may be
! necessary. Alternatively, help in patching known \module{rexec}
! vulnerabilities would be welcomed.
! \end{notice}
!
! \begin{notice}
! The \class{RExec} class can prevent code from performing unsafe
! operations like reading or writing disk files, or using TCP/IP
! sockets. However, it does not protect against code using extremely
! large amounts of memory or processor time.
! \end{notice}
\begin{classdesc}{RExec}{\optional{hooks\optional{, verbose}}}