diff options
author | Guido van Rossum <guido@python.org> | 2002-08-05 16:13:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-05 16:13:24 (GMT) |
commit | aed51d8121f321e37274171b695cd0e3876465c6 (patch) | |
tree | 83e17c55398e4add85a2ed179e3c36ddf77cd776 /Misc | |
parent | aaebdd6a02dd4d650b14e2192e327336ecb62a98 (diff) | |
download | cpython-aed51d8121f321e37274171b695cd0e3876465c6.zip cpython-aed51d8121f321e37274171b695cd0e3876465c6.tar.gz cpython-aed51d8121f321e37274171b695cd0e3876465c6.tar.bz2 |
SF patch 590294: os._execvpe security fix (Zack Weinberg).
1) Do not attempt to exec a file which does not exist
just to find out what error the operating system
returns. This is an exploitable race on all platforms
that support symbolic links.
2) Immediately re-raise the exception if we get an
error other than errno.ENOENT or errno.ENOTDIR. This
may need to be adapted for other platforms.
(As a security issue, this should be considered for 2.1
and 2.2 as well as 2.3.)
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions