swagger-typescript-api vulnerable to Server-Side Request Forgery via spec `$ref`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| acacode | swagger-typescript-api | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Acacode | Swagger-typescript-api |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-x36r-4347-pm5x | swagger-typescript-api vulnerable to Server-Side Request Forgery via spec `$ref` |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.222% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Acacode
Acacode swagger-typescript-api |
|
| Vendors & Products |
Acacode
Acacode swagger-typescript-api |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | swagger-typescript-api generates API clients for Fetch or Axios from OpenAPI specifications. Prior to 13.12.2, src/resolved-swagger-schema.ts warmUpRemoteSchemasCache resolves external $ref URLs and fetchRemoteSchemaDocument uses isHttpUrl to fetch any http or https target without private IP, redirect, DNS rebinding, or same-origin validation, allowing an attacker-controlled OpenAPI spec to make the generator issue requests to internal or link-local services. This issue is fixed in version 13.12.2. | |
| Title | swagger-typescript-api vulnerable to Server-Side Request Forgery via spec `$ref` | |
| Weaknesses | CWE-20 CWE-441 CWE-918 |
|
| References |
|
|
| Metrics |
cvssV3_1
|