Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsUpgrade github.com/getkin/kin-openapi/openapi3filter
to version 0.131.0 or higher.
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.