GHSA-7wgr-7666-7pwj

Suggest an improvement
Source
https://github.com/advisories/GHSA-7wgr-7666-7pwj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-7wgr-7666-7pwj/GHSA-7wgr-7666-7pwj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7wgr-7666-7pwj
Aliases
Related
Published
2020-08-20T14:38:13Z
Modified
2024-10-07T17:04:47.831174Z
Severity
  • 3.0 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N CVSS Calculator
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N CVSS Calculator
Summary
Path Traversal in openapi-python-client
Details

Impact

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.

Giving this a CVSS score of 3.0 (Low) with CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N/E:P/RL:U/RC:C

Patches

A fix is being worked on for version 0.5.3

Workarounds

Inspect OpenAPI documents before generating clients for them.

For more information

If you have any questions or comments about this advisory: * Open an issue in openapi-python-client * Email us at danthony@triaxtec.com

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-14T16:08:41Z"
}
References

Affected packages

PyPI / openapi-python-client

Package

Name
openapi-python-client
View open source insights on deps.dev
Purl
pkg:pypi/openapi-python-client

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.3

Affected versions

0.*

0.1.0.dev0
0.1.0
0.1.1
0.1.2
0.2.0
0.2.1
0.3.0
0.4.0rc1
0.4.0
0.4.1
0.4.2
0.5.0
0.5.1
0.5.2