Vulnerability · Published Aug 14, 2020 · Assigned by GitHub_M

CVE-2020-15142Arbitrary Code Generation

High 8.0

In plain English

A high-severity code injection in openapi-python-client from triaxtec. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.0High
Exploit odds (30 days)1.8%top 20.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIopenapi-python-client0.5.3GHSA-9x4c-63pf-525f
PyPIopenapi-python-client0.5.3PYSEC-2020-71

Affected products (as reported)

VendorProductVersions
triaxtec openapi-python-client < 0.5.3

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

References