kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| getkin | kin-openapi | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Getkin | Kin-openapi |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-mh7x-f8wq-4jhx | kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.372% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Getkin
Getkin kin-openapi |
|
| Vendors & Products |
Getkin
Getkin kin-openapi |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | kin-openapi is a Go project for handling OpenAPI files. Prior to 0.145.0, openapi3.Loader can dereference a nil SchemaRef.Value while resolving a self-referential additionalProperties JSON Reference such as a schema that points to its own additionalProperties member. Loading an attacker-controlled OpenAPI document through LoadFromData, LoadFromFile, or LoadFromURI reaches resolveComponent before document validation and can panic the loading process. Resolved additionalProperties schemas and ordinary recursive schemas do not take the vulnerable nil-value path. This issue is fixed in version 0.145.0. | |
| Title | kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS) | |
| Weaknesses | CWE-476 | |
| References |
| |
| Metrics |
cvssV3_1
|