CVE-2025-30153
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.53%• Percentile: 44%
Techniques & Countermeasures
- CWE-409•Improper Handling of Highly Compressed Data (Data Amplification)
The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.
Affected Systems
- chainguard•dataplaneapi
< 3.1.5-r2
- chainguard•dataplaneapi-fips
< 3.1.5-r2
- chainguard•gitness
< 0
- chainguard•gptscript
< 0.9.5-r11
- chainguard•grafana-11.3
< 0
- chainguard•grafana-11.4
< 0
- chainguard•grafana-11.5
< 0
- chainguard•grafana-11.5-oci-compat
< 0
- chainguard•grafana-11.6
< 0
- chainguard•grafana-11.6-oci-compat
< 0
- chainguard•grafana-12.0
< 0
- chainguard•grafana-12.0-oci-compat
< 0
- chainguard•grafana-fips-11.4
< 0
- chainguard•grafana-fips-11.4-oci-compat
< 0
- chainguard•grafana-fips-11.5
< 0
- chainguard•grafana-fips-11.5-oci-compat
< 0
- chainguard•grafana-fips-11.6
< 0
- chainguard•grafana-fips-11.6-oci-compat
< 0
- chainguard•grafana-fips-12.0
< 0
- chainguard•grafana-fips-12.0-oci-compat
< 0
- chainguard•kubevela
< 0
- chainguard•kubevela-fips
< 0
- chainguard•kubevela-vela-cli
< 0
- chainguard•kubevela-vela-cli-fips
< 0
- chainguard•kubevela-vela-core
< 0
- chainguard•kubevela-vela-core-compat
< 0
- chainguard•kubevela-vela-core-compat-fips
< 0
- chainguard•kubevela-vela-core-fips
< 0
- chainguard•nuclei
< 3.4.3-r1
- chainguard•terraform-provider-kubernetes
< 0
- chainguard•terraform-provider-kubernetes-fips
< 0
- chainguard•timoni
< 0.24.0-r5
- wolfi•dataplaneapi
< 3.1.5-r2
- wolfi•gitness
< 0
- wolfi•gptscript
< 0.9.5-r11
- wolfi•kubevela
< 0
- wolfi•kubevela-vela-cli
< 0
- wolfi•kubevela-vela-core
< 0
- wolfi•kubevela-vela-core-compat
< 0
- wolfi•nuclei
< 3.4.3-r1
- wolfi•terraform-provider-kubernetes
< 0
- wolfi•timoni
< 0.24.0-r5
- debian•golang-github-getkin-kin-openapi
all | all | all | < 0.135.0-1
- ubuntu•golang-github-getkin-kin-openapi
all | all | all
- getkin•kin-openapi
< 0.131.0
- github.com/getkin•kin-openapi
< 0.131.0
References (12)
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-wq9g-9vfc-cfq9
- https://github.com/getkin/kin-openapi/commit/67f0b233ffc01332f7d993f79490fbea5f4455f1
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1275
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1523
- https://github.com/getkin/kin-openapi?tab=readme-ov-file#custom-content-type-for-body-of-http-requestresponse
- https://nvd.nist.gov/vuln/detail/CVE-2025-30153
- https://github.com/getkin/kin-openapi/pull/1059
- https://github.com/getkin/kin-openapi
- https://security-tracker.debian.org/tracker/CVE-2025-30153
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30153.json
- https://ubuntu.com/security/CVE-2025-30153
- https://www.cve.org/CVERecord?id=CVE-2025-30153