Vulnerability · Published Mar 19, 2025 · Assigned by GitHub_M

CVE-2025-30153Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter

High 7.5

In plain English

A high-severity security flaw in kin-openapi from getkin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 50.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2025-30153
Debian:13golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2025-30153
Debian:14golang-github-getkin-kin-openapi0.135.0-1DEBIAN-CVE-2025-30153
Gogithub.com/getkin/kin-openapi0.131.0GHSA-wq9g-9vfc-cfq9
Gogithub.com/getkin/kin-openapi0.131.0GO-2025-3533
Ubuntu:22.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2025-30153
Ubuntu:24.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2025-30153
Ubuntu:26.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2025-30153

Affected products (as reported)

VendorProductVersions
getkin kin-openapi < 0.131.0

Weakness: CWE-409 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References