Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| janephp | janephp | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Janephp | Janephp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-q8v2-3j4h-xg2p | Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3) |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.507% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Janephp
Janephp janephp |
|
| Vendors & Products |
Janephp
Janephp janephp |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Jane is a set of PHP libraries that generates models and API clients from JSON Schema and OpenAPI specifications. Prior to 7.12.0, the Jane open-api-3 generator emits an OpenAPI query parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A query parameter name containing a PHPDoc closing delimiter can terminate the comment early and place attacker-controlled PHP in class-body position, including an __construct method that runs when the generated Client is instantiated. Exploitation requires generating a client from an attacker-influenced OpenAPI document and then using the generated SDK, and can execute arbitrary PHP with the consuming application's privileges. This issue is fixed in version 7.12.0. | |
| Title | Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3) | |
| Weaknesses | CWE-116 CWE-94 CWE-95 |
|
| References |
| |
| Metrics |
cvssV4_0
|