CVE-2025-30153
CVE-2025-30153 · Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 7.5 · Élevée · EPSS 0,6% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
kin-openapi
- Versions du logiciel
- < 0.131.0: Concernée
Aucun correctif publié
golang-github-getkin-kin-openapi Debian:12
- Versions du logiciel
- 0.110.0-1
- 0.117.0-1
- 0.118.0-1
- 0.120.0-1
- 0.122.0-1
- 0.122.0-2
- 0.122.0-3
- 0.123.0-1
- 0.124.0-1
- 0.135.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-getkin-kin-openapi Debian:13
- Versions du logiciel
- 0.124.0-1
- 0.135.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-getkin-kin-openapi Debian:14
- Versions du logiciel
- 0.124.0-1
- Plages de versions concernées
- ECOSYSTEM: < 0.135.0-1
Mettez à jour vers 0.135.0-1
golang-github-getkin-kin-openapi Ubuntu:22.04:LTS
- Versions du logiciel
- 0.32.0-2
- 0.80.0-1
- 0.85.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-getkin-kin-openapi Ubuntu:24.04:LTS
- Versions du logiciel
- 0.117.0-1
- 0.120.0-1
- 0.122.0-3
- 0.123.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-getkin-kin-openapi Ubuntu:26.04:LTS
- Versions du logiciel
- 0.124.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- 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