In openapi-python-client before version 0.5.3, there is a path traversal vulnerability. If a user generated a client using a maliciously crafted OpenAPI document, it is possible for generated files to be placed in arbitrary locations on disk.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15141
Reference (s):
- https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-7wgr-7666-7pwj
- URL: https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-7wgr-7666-7pwj
- 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/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746