Back
CVE-2017-16616
An exploitable vulnerability exists in the YAML parsing functionality in the YAMLParser method in Interfaces.py in PyAnyAPI before 0.6.1.…
Critical9.8EPSS 3.6%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.6% · top 10% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
- n/a
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpyanyapiGHSA-vg8g-jpm9-jh8r (opens in a new tab)
References (4)
- https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16616-yamlparser-in-pyanyapi/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/Stranger6667/pyanyapi/issues/41 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/Stranger6667/pyanyapi/releases/tag/0.6.1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://pypi.python.org/pypi/pyanyapi/0.6.1 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-vg8g-jpm9-jh8r (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .