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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.14% (51st percentile)

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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-OPENAPIPYTHONCLIENT-598765
  • published1 Sept 2020
  • disclosed16 Aug 2020
  • creditEthan Mann, Daniel Grossmann-Kavanagh, Dylan Anthony

Introduced: 16 Aug 2020

CVE-2020-15142  (opens in a new tab)
CWE-94  (opens in a new tab)

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.

CVSS Scores

version 3.1