CVE-2020-15142High· 8.0▾ Twilightopenapi-python-client Arbitrary Code Generation vulnerability
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 44 · likelihood 0.4 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.6%
1.6% → 1.8%
Clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.
Giving this a CVSS of 8.0 (high) with CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H/E:P/RL:U/RC:C .
Fix will be included in version 0.5.3
Inspect OpenAPI documents before generating, or inspect generated code before executing.
If you have any questions or comments about this advisory:
openapi-python-client < 0.5.3Upgrade to a patched release:
openapi-python-client 0.5.3Connected by shared product, vendor, weakness, or advisory.