Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
RCE Fixed (#3402)
Browse files Browse the repository at this point in the history
Co-authored-by: Anon-Artist <61599526+Anon-Artist@users.noreply.github.com>
Co-authored-by: Jamie Slome <jamie@418sec.com>
  • Loading branch information
3 people committed Jan 26, 2021
1 parent c2c800e commit 507d066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parlai/chat_service/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def parse_configuration_file(config_path):
result = {}
result["configs"] = {}
with open(config_path) as f:
cfg = yaml.load(f.read(), Loader=yaml.FullLoader)
cfg = yaml.load(f.read(), Loader=yaml.SafeLoader)
# get world path
result["world_path"] = cfg.get("world_module")
if not result["world_path"]:
Expand Down

0 comments on commit 507d066

Please sign in to comment.