CVE-2017-16616: Unsafe pyyaml load usage in PyAnyAPI
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.77899%
CWE
Published
5/13/2022
Updated
10/21/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pyanyapi | pip | < 0.6.1 | 0.6.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems directly from the use of yaml.load() in YAMLInterface's perform_parsing method. The commit diff shows the fix replacing load() with safe_load(), and the CVE description explicitly identifies this as the vulnerable pattern. The added test case in test_parsers.py demonstrates exploitation attempts would succeed with load() but fail with safe_load(). This matches the CWE-502 pattern of unsafe deserialization.