CVE-2025-30153 Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter
HighCVSS 7.5
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-getkin-kin-openapi(Debian 12) | = 0.110.0-1; = 0.117.0-1; = 0.118.0-1; = 0.120.0-1 +7 more | No fix listed | No fix yet |
| debian/golang-github-getkin-kin-openapi(Debian 13) | = 0.124.0-1; = 0.135.0-1; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/golang-github-getkin-kin-openapi(Debian 14) | < 0.135.0-1; = 0.124.0-1 | 0.135.0-1 | Fixed |
| getkin kin-openapi(Go) | < 0.131.0 | 0.131.0 | Fixed |
| getkin kin-openapi | = < 0.131.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getkin kin-openapi(Go) | < 0.131.0 | 0.131.0 |
| debian/golang-github-getkin-kin-openapi(Debian:12) | All versions | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.110.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.117.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.118.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.120.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.122.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.122.0-2 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.122.0-3 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.123.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.124.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.135.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:13) | All versions | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:13) | = 0.124.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:13) | = 0.135.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:14) | < 0.135.0-1 | 0.135.0-1 |
| debian/golang-github-getkin-kin-openapi(Debian:14) | = 0.124.0-1 | No fix listed |
| getkin kin-openapi | = < 0.131.0 | No fix listed |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu:26.04) | All versions | No fix listed |
References
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-wq9g-9vfc-cfq9 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- https://github.com/getkin/kin-openapi/commit/67f0b233ffc01332f7d993f79490fbea5f4455f1 patch
- github.com product
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1275
- https://github.com/getkin/kin-openapi?tab=readme-ov-file#custom-content-type-for-body-of-http-requestresponse
- Debian Security Tracker CVE-2025-30153 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org