{"id":"CVE-2020-15142","state":"PUBLISHED","title":"Arbitrary Code Generation","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.","publishedAt":"2020-08-14T16:20:13.000Z","updatedAt":"2024-08-04T13:08:22.278Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["triaxtec openapi-python-client"],"affected":[{"vendor":"triaxtec","product":"openapi-python-client","versions":[{"version":"< 0.5.3","status":"affected"}]}],"references":["https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f","https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a","https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13","https://pypi.org/project/openapi-python-client/"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T19:46:36.523Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/15xxx/CVE-2020-15142.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-15142","state":"PUBLISHED","datePublished":"2020-08-14T16:20:13.000Z","dateUpdated":"2024-08-04T13:08:22.278Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-06-25T00:00:00.000Z"},"containers":{"cna":{"title":"Arbitrary Code Generation","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"triaxtec","product":"openapi-python-client","versions":[{"version":"< 0.5.3","status":"affected"}]}],"references":[{"url":"https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a","tags":["x_refsource_MISC"]},{"url":"https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13","tags":["x_refsource_MISC"]},{"url":"https://pypi.org/project/openapi-python-client/","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-08-14T16:20:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-9x4c-63pf-525f","discovery":"UNKNOWN"},"x_legacyV4Record":{"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"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pypi.org/project/openapi-python-client/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T13:08:22.278Z"}}]}}}