Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. openapi-python-client
  4. ›
  5. CVE-2020-15141

CVE-2020-15141: Path Traversal in openapi-python-client

August 20, 2020 (updated October 7, 2024)

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

References

  • github.com/advisories/GHSA-7wgr-7666-7pwj
  • github.com/openapi-generators/openapi-python-client
  • github.com/pypa/advisory-database/tree/main/vulns/openapi-python-client/PYSEC-2020-70.yaml
  • github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md
  • github.com/triaxtec/openapi-python-client/commit/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746
  • github.com/triaxtec/openapi-python-client/security/advisories/GHSA-7wgr-7666-7pwj
  • nvd.nist.gov/vuln/detail/CVE-2020-15141
  • pypi.org/project/openapi-python-client

Code Behaviors & Features

Detect and mitigate CVE-2020-15141 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.3

Fixed versions

  • 0.5.3

Solution

Upgrade to version 0.5.3 or above.

Impact 4.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/openapi-python-client/CVE-2020-15141.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.