{"id":"CVE-2017-16616","published":"2017-11-08T03:00:00Z","modified":"2024-08-05T20:27:04Z","title":"An exploitable vulnerability exists in the YAML parsing functionality in the YAMLParser method in Interfaces.py in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0362,"percentile":0.89783,"provenance":"source"},"cwes":[],"references":[{"url":"https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16616-yamlparser-in-pyanyapi/","tags":["x_refsource_MISC"]},{"url":"https://github.com/Stranger6667/pyanyapi/issues/41","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Stranger6667/pyanyapi/releases/tag/0.6.1","tags":["x_refsource_CONFIRM"]},{"url":"https://pypi.python.org/pypi/pyanyapi/0.6.1","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":17.96}]},"affected":[{"ecosystem":"PyPI","package":"pyanyapi","vulnerableRanges":["<0.6.1"],"patched":["0.6.1"],"from":["GHSA-vg8g-jpm9-jh8r","PYSEC-2017-23"],"provenance":"source"}],"summary":{"text":"The YAMLParser method in Interfaces.py in PyAnyAPI before 0.6.1 contains a flaw in its YAML parsing functionality, where the code calls load instead of safe_load. An attacker who can get Python code into the YAML being parsed can execute arbitrary commands on the system, with no stated authentication or user-interaction requirement beyond supplying that input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:23Z"},"euvd":{"id":"EUVD-2017-0101","exploited":false,"provenance":"source"}}