Security Fix for Arbitrary Code Execution in PR#636 (#675)
This commit is contained in:
Родитель
b3d6673002
Коммит
d12beb6938
|
@ -32,7 +32,7 @@ def generate_yaml(
|
|||
"""
|
||||
|
||||
with open(os.path.join(directory, ref_filename), "r") as f:
|
||||
yaml_content = yaml.load(f, Loader=yaml.FullLoader)
|
||||
yaml_content = yaml.load(f, Loader=yaml.SafeLoader)
|
||||
|
||||
# Extract libraries to be installed using conda
|
||||
extracted_libraries = [
|
||||
|
|
Загрузка…
Ссылка в новой задаче