Arbitrary Code Execution Affecting openapi-python-client package, versions [,0.5.3)


0.0
high

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Scope Changed
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.17% (54th percentile)
Expand this section
NVD
9 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-OPENAPIPYTHONCLIENT-598765
  • published 1 Sep 2020
  • disclosed 16 Aug 2020
  • credit Ethan Mann, Daniel Grossmann-Kavanagh, Dylan Anthony

How to fix?

Upgrade openapi-python-client to version 0.5.3 or higher.

Overview

openapi-python-client is a package that generates modern Python clients from OpenAPI.

Affected versions of this package are vulnerable to Arbitrary Code Execution. Clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.