summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorSteve Kowalik <steven@wedontsleep.org>2022-12-20 17:05:50 +1100
committerSantos Gallegos <stsewd@proton.me>2022-12-23 16:16:21 -0500
commit2625ed9fc074091c531c27ffcba7902771130261 (patch)
tree0f3589b06f2b63851addf126b245073cad7eacbf /git/cmd.py
parent787359d80d80225095567340aa5e7ec01847fa9a (diff)
downloadgitpython-2625ed9fc074091c531c27ffcba7902771130261.tar.gz
Forbid unsafe protocol URLs in Repo.clone{,_from}()
Since the URL is passed directly to git clone, and the remote-ext helper will happily execute shell commands, so by default disallow URLs that contain a "::" unless a new unsafe_protocols kwarg is passed. (CVE-2022-24439) Fixes #1515
Diffstat (limited to 'git/cmd.py')
0 files changed, 0 insertions, 0 deletions