diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-09 16:46:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 16:46:47 (GMT) |
commit | cfa4295cd14ce00fe5263c7083aa5a73b515828d (patch) | |
tree | 3e523422b308b3d5861fda929ac4900ccdc594aa /Lib/shutil.py | |
parent | d77e77c363a170f4435cbe826628b6a347654d9e (diff) | |
download | cpython-cfa4295cd14ce00fe5263c7083aa5a73b515828d.zip cpython-cfa4295cd14ce00fe5263c7083aa5a73b515828d.tar.gz cpython-cfa4295cd14ce00fe5263c7083aa5a73b515828d.tar.bz2 |
[3.10] gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096) (#104330)
gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096)
* Fix directory traversal security flaw in uu.decode()
* also check absolute paths and os.altsep
* Add a regression test.
---------
(cherry picked from commit 0aeda297931820436a50b78f4f7f0597274b5df4)
[Google]
Co-authored-by: Sam Carroll <70000253+samcarroll42@users.noreply.github.com>
Diffstat (limited to 'Lib/shutil.py')
0 files changed, 0 insertions, 0 deletions