In openapi-python-client before version 0.5.3, clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.
References
Link | Resource |
---|---|
https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13 | Release Notes Third Party Advisory |
https://pypi.org/project/openapi-python-client/ | Product Third Party Advisory |
https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a | Patch Third Party Advisory |
https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2020-08-14 10:15
Updated : 2020-08-20 11:11
NVD link : CVE-2020-15142
Mitre link : CVE-2020-15142
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
openapi-python-client_project
- openapi-python-client