Vulnerability · Published Aug 14, 2020 · Assigned by GitHub_M
CVE-2020-15141Path Traversal in openapi-python-client
Low 3.0
In plain English
A low-severity path traversal in openapi-python-client from triaxtec. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)3.0Low
Exploit odds (30 days)1.1%top 33.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | openapi-python-client | 0.5.3 | GHSA-7wgr-7666-7pwj |
| PyPI | openapi-python-client | 0.5.3 | PYSEC-2020-70 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| triaxtec | openapi-python-client | < 0.5.3 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
References
- https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13 x_refsource_MISC
- https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-7wgr-7666-7pwj x_refsource_CONFIRM
- https://pypi.org/project/openapi-python-client x_refsource_MISC
- https://github.com/triaxtec/openapi-python-client/commit/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746 x_refsource_MISC