Now, the load() function requires parameter loader=Loader.
If your YAML file contains just simple YAML (str, int, lists),
try to use yaml.safe_load() instead of yaml.load().
And If you need FullLoader, you can use yaml.full_load().
Starting from pyyaml>=5.4, it doesn't have any discovered critical
vulnerabilities, pyyaml status.