Use yaml.safe_load instead of yaml.load
Use yaml.safe_load instead of yaml.load

yaml.safe_load is safe to use in any situation. yaml.load can cause code execution which is not desirable since we are just parsing a config file.

See more details on yaml.load here: https://tools.cisco.com/security/center/viewAlert.x?alertId=58783
pinterest/wheeljack