PyPi: Openapi-Python-Client

CVE-2020-15142

Safety vulnerability ID: 38691

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Aug 14, 2020 Updated at May 18, 2024
Scan your Python projects for vulnerabilities →

Advisory

In openapi-python-client before version 0.5.3, clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution. See: CVE-2020-15142.

Affected package

openapi-python-client

Latest version: 0.20.0

Generate modern Python clients from OpenAPI

Affected versions

Fixed versions

Vulnerability changelog

In openapi-python-client before version 0.5.3, clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.


CONFIRM:https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f: https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f
MISC:https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13: https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13
MISC:https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a: https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a
MISC:https://pypi.org/project/openapi-python-client/: https://pypi.org/project/openapi-python-client/

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.0

CVSS v3 Details

CRITICAL 9.0
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
LOW
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 6.0
Access Vector (AV)
NETWORK
Access Complexity (AC)
MEDIUM
Authentication (Au)
SINGLE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL