You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.131.0, when validating a request with a multipart/form-data schema, if the OpenAPI schema allows it, an attacker can upload a crafted ZIP file (e.g., a ZIP bomb), causing the server to consume all available system memory. The root cause comes from the ZipFileBodyDecoder, which is registered automatically by the module (contrary to what the documentation says). This vulnerability is fixed in 0.131.0.
OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
Library home page: https://proxy.golang.org/github.com/getkin/kin-openapi/@v/v0.107.0.zip
Path to dependency file: /capten/go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/github.com/getkin/kin-openapi/@v/v0.107.0.mod
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
Vulnerable Library - github.com/getkin/kin-openapi-v0.107.0
OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
Library home page: https://proxy.golang.org/github.com/getkin/kin-openapi/@v/v0.107.0.zip
Path to dependency file: /capten/go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/github.com/getkin/kin-openapi/@v/v0.107.0.mod
Dependency Hierarchy:
Found in base branch: main
Vulnerability Details
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.131.0, when validating a request with a multipart/form-data schema, if the OpenAPI schema allows it, an attacker can upload a crafted ZIP file (e.g., a ZIP bomb), causing the server to consume all available system memory. The root cause comes from the ZipFileBodyDecoder, which is registered automatically by the module (contrary to what the documentation says). This vulnerability is fixed in 0.131.0.
Publish Date: 2025-03-19
URL: CVE-2025-30153
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Release Date: 2025-03-19
Fix Resolution: https://github.com/getkin/kin-openapi.git - v0.131.0
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: