{"id":"CVE-2025-30153","published":"2025-03-19T16:03:26Z","modified":"2025-03-19T18:25:11Z","title":"Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter","vendor":"getkin","product":"kin-openapi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00621,"percentile":0.50678,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/getkin/kin-openapi/security/advisories/GHSA-wq9g-9vfc-cfq9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getkin/kin-openapi/commit/67f0b233ffc01332f7d993f79490fbea5f4455f1","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1275","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1523","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkin/kin-openapi?tab=readme-ov-file#custom-content-type-for-body-of-http-requestresponse","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":10.14},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"getkin","affectedVersions":[{"vendor":"getkin","product":"kin-openapi","versions":["< 0.131.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-19T18:24:49.750819Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/getkin/kin-openapi","vulnerableRanges":["<0.131.0"],"patched":["0.131.0"],"from":["GHSA-wq9g-9vfc-cfq9","GO-2025-3533"],"provenance":"source"}],"summary":{"text":"The flaw is in the openapi3filter component of getkin's kin-openapi, a Go project for handling OpenAPI files, where the ZipFileBodyDecoder is registered automatically by the module despite documentation stating otherwise. An attacker with network access and no authentication or user interaction, against a service whose OpenAPI schema permits multipart/form-data uploads during request validation, can submit a crafted ZIP file such as a ZIP bomb to exhaust all available system memory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:24Z"},"euvd":{"id":"EUVD-2025-6729","exploited":false,"provenance":"source"}}