openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| openapi-generators | openapi-python-client | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Openapi-generators | Openapi-python-client |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5293-mq8x-g3xj | openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.139% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Openapi-generators
Openapi-generators openapi-python-client |
|
| Vendors & Products |
Openapi-generators
Openapi-generators openapi-python-client |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | openapi-python-client generates Python clients from OpenAPI documents. Prior to 0.29.1, the generator does not safely neutralize malicious OpenAPI document content before rendering string, docstring, and f-string contexts in generated Python. The generated Python client can contain attacker-controlled Python that executes when a user imports the client, affecting the importing environment's integrity and potentially its confidentiality and availability. This issue is fixed in version 0.29.1. | |
| Title | openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation | |
| Weaknesses | CWE-116 CWE-150 CWE-94 |
|
| References |
|
|
| Metrics |
cvssV4_0
|