Improper Handling of Highly Compressed Data (Data Amplification) Affecting github.com/getkin/kin-openapi/openapi3filter package, versions <0.131.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGETKINKINOPENAPIOPENAPI3FILTER-9563904
  • published28 Mar 2025
  • disclosed19 Mar 2025
  • creditblotus

Introduced: 19 Mar 2025

NewCVE-2025-30153  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade github.com/getkin/kin-openapi/openapi3filter to version 0.131.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) through the ZipFileBodyDecoder. An attacker can trigger an out-of-memory condition, leading to server crashes or degraded performance by uploading a specially crafted ZIP file that is highly compressed.

Note:

This is only exploitable if the OpenAPI schema allows for multipart upload.

CVSS Base Scores

version 4.0
version 3.1