In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.
https://security.gentoo.org/glsa/202003-45
https://github.com/yaml/pyyaml/pull/74
https://github.com/yaml/pyyaml/issues/193
https://github.com/palakgrg09/RuntimeShield-Supply-Chain-Vulnerability-Reachability-Analyzer
https://github.com/clay-good/blastauri
https://github.com/tejas-rkd/threat-inspector
https://github.com/Tiruye-z/CVE2Lab
https://github.com/advisories/GHSA-6h2x-4gjf-jc5w
https://github.com/advisories/GHSA-3pqx-4fqf-j49f
https://github.com/advisories/GHSA-rprw-h62v-c2w7
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation