Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github.com/getkin/kin-openapi-v0.107.0: 1 vulnerabilities (highest severity is: 7.5) #531

Open
mend-bolt-for-github bot opened this issue Mar 20, 2025 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Mar 20, 2025

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

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/getkin/kin-openapi-v0.107.0 version) Remediation Possible**
CVE-2025-30153 High 7.5 github.com/getkin/kin-openapi-v0.107.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.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:

  • github.com/getkin/kin-openapi-v0.107.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

For more information on CVSS3 Scores, click here.

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

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants