Skip to content

Commit d12beb6

Browse files
authored
Security Fix for Arbitrary Code Execution in PR#636 (#675)
1 parent b3d6673 commit d12beb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils_cv/common/deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def generate_yaml(
3232
"""
3333

3434
with open(os.path.join(directory, ref_filename), "r") as f:
35-
yaml_content = yaml.load(f, Loader=yaml.FullLoader)
35+
yaml_content = yaml.load(f, Loader=yaml.SafeLoader)
3636

3737
# Extract libraries to be installed using conda
3838
extracted_libraries = [

0 commit comments

Comments
 (0)