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.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15142
Reference (s):
- https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f
- URL: https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f
- https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053—2020-08-13
- URL: https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053—2020-08-13
- https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a