projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5832638
)
Fix security bug: Deserialization of Untrusted Data
46/12146/1
author
David Garcia
<david.garcia@canonical.com>
Tue, 31 May 2022 09:01:09 +0000
(11:01 +0200)
committer
David Garcia
<david.garcia@canonical.com>
Tue, 31 May 2022 09:01:09 +0000
(11:01 +0200)
Change-Id: I6228e249bdb0acf6f18924910fbb7105fc519eb4
Signed-off-by: David Garcia <david.garcia@canonical.com>
n2vc/k8s_helm_base_conn.py
patch
|
blob
|
history
diff --git
a/n2vc/k8s_helm_base_conn.py
b/n2vc/k8s_helm_base_conn.py
index
952630a
..
d446b9b
100644
(file)
--- a/
n2vc/k8s_helm_base_conn.py
+++ b/
n2vc/k8s_helm_base_conn.py
@@
-1888,7
+1888,7
@@
class K8sHelmBaseConnector(K8sConnector):
for key in params:
value = params.get(key)
if "!!yaml" in str(value):
- value = yaml.load(value[7:])
+ value = yaml.
safe_
load(value[7:])
params2[key] = value
values_file = get_random_number() + ".yaml"