{"id":"CVE-2017-16616","sourceIdentifier":"cve@mitre.org","published":"2017-11-08T03:29:00.247","lastModified":"2026-06-17T01:09:34.603","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Existe una vulnerabilidad explotable en la funcionalidad de análisis sintáctico de YAML en el método YAMLParser en Interfaces.py en PyAnyAPI, en versiones anteriores a la 0.6.1. Un analizador sintáctico de YAML puede ejecutar comandos Python arbitrarios. Esto resulta en una ejecución de comandos, ya que se emplea load en lugar de safe_load. Un atacante puede insertar código python en el YAML cargado para provocar esta vulnerabilidad."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pyanyapi_project:pyanyapi:*:*:*:*:*:*:*:*","versionEndExcluding":"0.6.1","matchCriteriaId":"D701AC95-B321-4345-94BF-EB630385AF8D"}]}]}],"references":[{"url":"https://github.com/Stranger6667/pyanyapi/issues/41","source":"cve@mitre.org","tags":["Issue Tracking"]},{"url":"https://github.com/Stranger6667/pyanyapi/releases/tag/0.6.1","source":"cve@mitre.org","tags":["Release Notes"]},{"url":"https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16616-yamlparser-in-pyanyapi/","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://pypi.python.org/pypi/pyanyapi/0.6.1","source":"cve@mitre.org","tags":["Product"]},{"url":"https://github.com/Stranger6667/pyanyapi/issues/41","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking"]},{"url":"https://github.com/Stranger6667/pyanyapi/releases/tag/0.6.1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes"]},{"url":"https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16616-yamlparser-in-pyanyapi/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://pypi.python.org/pypi/pyanyapi/0.6.1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]}]}