File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,10 +151,10 @@ class Repo:
151151 "-c" ,
152152 # Can install hooks that execute during clone:
153153 "--template" ,
154- # Fetches from a caller-controlled URL :
154+ # Fetches from an additional caller-controlled URI :
155155 "--bundle-uri" ,
156156 ]
157- """Options to :manpage:`git-clone(1)` that allow arbitrary commands to be executed .
157+ """Options to :manpage:`git-clone(1)` that permit unsafe command execution or I/O .
158158
159159 The ``--upload-pack``/``-u`` option allows users to execute arbitrary commands
160160 directly:
@@ -166,6 +166,11 @@ class Repo:
166166
167167 The ``--template`` option can install hooks that execute during clone:
168168 https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---templatetemplate-directory
169+
170+ The ``--bundle-uri`` option fetches from an additional URI before fetching from the
171+ clone URL. An untrusted value can therefore make Git access local files or
172+ unintended network resources:
173+ https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---bundle-uriuri
169174 """
170175
171176 unsafe_git_archive_options = [
You can’t perform that action at this time.
0 commit comments