SecurityContext

CVE-2017-16616: PyAnyAPI - Command Injection

  • Cve: CVE-2017-16616
  • Name: PyAnyAPI - Command Injection
  • Description: 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.
  • Impact: Attackers can execute arbitrary Python commands, leading to remote code execution and full system compromise.
  • Remediation: Update to version 0.6.1 or later, replacing load with safe_load in YAMLParser method.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0362
  • Epss percentile: 0.898
  • Assignee: [email protected]
  • Published at: 2017-11-08T03:29:00Z
  • Age in days: 3303
  • Modified at: 2026-06-17T01:09:34Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-16616
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16616-yamlparser-in-pyanyapi/Third Party Advisory
https://github.com/Stranger6667/pyanyapi/issues/41Issue Tracking
https://github.com/Stranger6667/pyanyapi/releases/tag/0.6.1Release Notes
https://pypi.python.org/pypi/pyanyapi/0.6.1Product

Products

ProductAffectedPlatform boundSourcesUrl
pyanyapi_project:pyanyapi< 0.6.1nonvd/v1/products/pyanyapi_project/pyanyapi

Projects

RepositoryLink kindsIndexedUrl
Stranger6667/pyanyapicommit, issues, package, releasesyes/v1/repositories/Stranger6667/pyanyapi

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts