CVE-2017-16616Pyanyapi Project Pyanyapi
Critical 9.8 No auth needed
Follow: this CVE · Pyanyapi Project · Pyanyapi Project Pyanyapi We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 3.6% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Nov 8, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Pyanyapi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pyanyapi |
< 0.6.1 |
0.6.1 |
pip install "pyanyapi>=0.6.1" |
| PyPI | pyanyapi |
< 0.6.1 |
0.6.1 |
pip install "pyanyapi>=0.6.1" |
Per OSV / GitHub Advisories (GHSA-vg8g-jpm9-jh8r, PYSEC-2017-23). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pyanyapi_project | pyanyapi | < 0.6.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- github.com Release Notes
- joel-malwarebenchmark.github.io Third Party Advisory
- pypi.python.org Product