Skip to content

Commit 5addb21

Browse files
committed
Fix: fix CVE-2020-28243
Signed-off-by: liubo <liubo@uniontech.com>
1 parent a48a5a9 commit 5addb21

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docker/transport/sshconn.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ def f():
5858
env.pop('SSL_CERT_FILE', None)
5959

6060
self.proc = subprocess.Popen(
61-
' '.join(args),
61+
args,
6262
env=env,
63-
shell=True,
6463
stdout=subprocess.PIPE,
6564
stdin=subprocess.PIPE,
6665
preexec_fn=None if constants.IS_WINDOWS_PLATFORM else preexec_func)

0 commit comments

Comments
 (0)