Skip to content
OpenAdvisories
High · 7.5 CVE-2025-30153 EUVD-2025-6729GHSA-wq9g-9vfc-cfq9GO-2025-3533

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

Published Mar 19, 2025 · Updated Mar 19, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
getkin kin-openapi < 0.131.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-getkin-kin-openapi 0.135.0-1 —
Debian 13 golang-github-getkin-kin-openapi No fix yet —
Debian 12 golang-github-getkin-kin-openapi No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS golang-github-getkin-kin-openapi No fix yet —
Ubuntu 24.04 LTS golang-github-getkin-kin-openapi No fix yet —
Ubuntu 22.04 LTS golang-github-getkin-kin-openapi No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 grafana 12.4.5-150200.3.91.1 SUSE-SU-2026:3718-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250327T184518-1.1 openSUSE-SU-2025:14937-1
openSUSE Tumbleweed grafana 11.6.14+security01-4.1 openSUSE-SU-2026:10922-1
openSUSE Tumbleweed mcphost 0.34.0-1.1 openSUSE-SU-2026:10731-1
openSUSE Leap 16.0 grafana 11.6.14+security04-bp160.1.1 openSUSE-SU-2026:20940-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dataplaneapi 3.1.5-r2 —
Wolfi rolling gptscript 0.9.5-r11 —
Wolfi rolling nuclei 3.4.3-r1 —
Wolfi rolling timoni 0.24.0-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/getkin/kin-openapi < 0.131.0 0.131.0 GHSA-wq9g-9vfc-cfq9

Advisories 5

References