{ "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-15142", "STATE": "PUBLIC", "TITLE": "Arbitrary Code Generation" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "openapi-python-client", "version": { "version_data": [ { "version_value": "< 0.5.3" } ] } } ] }, "vendor_name": "triaxtec" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-94: Improper Control of Generation of Code ('Code Injection')" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f", "refsource": "CONFIRM", "url": "https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f" }, { "name": "https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a", "refsource": "MISC", "url": "https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a" }, { "name": "https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13", "refsource": "MISC", "url": "https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13" }, { "name": "https://pypi.org/project/openapi-python-client/", "refsource": "MISC", "url": "https://pypi.org/project/openapi-python-client/" } ] }, "source": { "advisory": "GHSA-9x4c-63pf-525f", "discovery": "UNKNOWN" } }