An exploitable vulnerability exists in the YAML parsing functionality in the YAMLParser method in Interfaces.py in PyAnyAPI before 0.6.1. A YAML parser can execute arbitrary Python commands resulting in command execution because load
is used where safe_load
should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.
{ "nvd_published_at": "2017-11-08T03:29:00Z", "cwe_ids": [ "CWE-502" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2022-05-26T18:45:59Z" }