CVE-2020-15142: openapi-python-client Arbitrary Code Generation vulnerability
(updated )
Clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.
Giving this a CVSS of 8.0 (high) with CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H/E:P/RL:U/RC:C .
References
- github.com/advisories/GHSA-9x4c-63pf-525f
- github.com/openapi-generators/openapi-python-client
- github.com/openapi-generators/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a
- github.com/openapi-generators/openapi-python-client/releases/tag/v.0.5.3
- github.com/pypa/advisory-database/tree/main/vulns/openapi-python-client/PYSEC-2020-71.yaml
- github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md
- github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a
- github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f
- nvd.nist.gov/vuln/detail/CVE-2020-15142
- pypi.org/project/openapi-python-client
Detect and mitigate CVE-2020-15142 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →