—
PYSEC-2020-70
Quick fix
PYSEC-2020-70 — openapi-python-client: upgrade to the fixed version with the command below.
pip install --upgrade 'openapi-python-client>=3e7dfae5d0b3685abf1ede1bc6c086a116ac4746'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/openapi-python-client
Introduced in:
0Fixed in: 3e7dfae5d0b3685abf1ede1bc6c086a116ac4746Fix
pip install --upgrade 'openapi-python-client>=3e7dfae5d0b3685abf1ede1bc6c086a116ac4746'References
- https://github.com/triaxtec/openapi-python-client/commit/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746[FIX]
- https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13[WEB]
- https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-7wgr-7666-7pwj[ADVISORY]
- https://pypi.org/project/openapi-python-client[PACKAGE]