-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Vulnerable Library - github.com/getkin/kin-openapi-v0.100.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.100.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Vulnerabilities
| CVE | Severity | Dependency | Type | Fixed in (github.com/getkin/kin-openapi-v0.100.0 version) | Remediation Possible** | |
|---|---|---|---|---|---|---|
| CVE-2025-30153 | 7.5 | github.com/getkin/kin-openapi-v0.100.0 | Direct | https://github.com/getkin/kin-openapi.git - v0.131.0 | ❌ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2025-30153
Vulnerable Library - github.com/getkin/kin-openapi-v0.100.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.100.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- ❌ github.com/getkin/kin-openapi-v0.100.0 (Vulnerable Library)
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:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
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