Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| softwaremill | tapir | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Softwaremill | Tapir |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gpcc-36pq-8qxr | Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen) |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.140% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Softwaremill
Softwaremill tapir |
|
| Vendors & Products |
Softwaremill
Softwaremill tapir |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Tapir is a Scala library for describing HTTP APIs and exposing, consuming, and documenting them using open standards. Prior to 1.13.27, tapir-openapi-codegen-core generates Scala source from untrusted OpenAPI documents by interpolating object property names, query, header, and path parameter names, and operation tags without context-appropriate validation or escaping. Crafted names or values can break out of generated identifier or string-literal contexts and inject arbitrary Scala that executes when generated code is compiled or endpoints are assembled. This is a code-generation and build-time issue and does not make a running tapir server directly exploitable. This issue is fixed in version 1.13.27. | |
| Title | Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen) | |
| Weaknesses | CWE-116 CWE-94 CWE-95 |
|
| References |
| |
| Metrics |
cvssV4_0
|