Skip to content

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

@mend-bolt-for-github

Description

@mend-bolt-for-github
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

Vulnerability 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions