Source: grave
X-Debbugs-CC: [email protected]
Severity: important
Tags: security

Hi,

The following vulnerabilities were published for grave.

CVE-2026-100352[0]:
| kin-openapi is a Go project for handling OpenAPI files. Prior to
| 0.148.0, the OpenAPI 3.1 validation path passes YAML NaN and
| infinity numeric values to santhosh-tekuri/jsonschema v6.0.2 without
| applying kin-openapi's existing finite-number guards. A remote
| unauthenticated client can send an application/yaml or
| application/x-yaml request body containing .nan, .inf, or -.inf to
| an operation with a numeric constraint, causing the dependency to
| create and dereference a nil big.Rat during ValidateRequest.
| Standard net/http servers recover the panic per connection, while
| other hosts or application goroutines may terminate the process.
| This issue is fixed in version 0.148.0.

https://github.com/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7
https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc25270e
 (v0.148.0)

CVE-2026-100354[1]:
| kin-openapi is a Go project for handling OpenAPI files. Prior to
| 0.149.0, runtime request, response, and direct schema validation
| lacks cycle detection when an allOf, anyOf, or oneOf chain refers
| back to an ancestor schema, even though loading and document
| validation accept the circular reference. A request or response that
| reaches the affected schema causes unbounded recursion in
| Schema.visitJSON or openapi3filter.decodeValue and exhausts the Go
| goroutine stack. The resulting fatal stack overflow cannot be caught
| with recover and terminates the entire process, including unrelated
| requests. This issue is fixed in version 0.149.0.

https://github.com/getkin/kin-openapi/security/advisories/GHSA-g8cf-rcjf-c8cf
https://github.com/getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee930c5bcff
 (v0.149.0)


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-100352
    https://www.cve.org/CVERecord?id=CVE-2026-100352
[1] https://security-tracker.debian.org/tracker/CVE-2026-100354
    https://www.cve.org/CVERecord?id=CVE-2026-100354

Please adjust the affected versions in the BTS as needed.

Reply via email to