CVE-2023-50709: Denial of Service Attack on Cube API Endpoint
Summary
CVE-2023-50709: Cube API denial of service attack. Affects @cubejs-backend/api-gateway versions < 0.34.34. Fixed in 0.34.34. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The @cubejs-backend/api-gateway package is an npm package that provides an API gateway for the Cube.js framework. It acts as a middleware layer between the client and the Cube.js server, handling API requests and forwarding them to the appropriate Cube.js endpoints. The package is widely used to expose Cube APIs to the public internet.
Vulnerability Detail
A vulnerability has been discovered in the @cubejs-backend/api-gateway package that allows an attacker to launch a denial of service (DoS) attack on the Cube API endpoint. By sending a specially crafted request to a Cube API endpoint, an attacker can make the entire Cube API unavailable, resulting in a disruption of service. This vulnerability has been assigned a CVSS score of 6.5, indicating a moderate severity level.
How To Fix
Minimum fixed version
0.34.34
This is the first release that contains the fix.
npm install @cubejs-backend/api-gateway@0.34.34
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There are currently no known workarounds for older versions of the @cubejs-backend/api-gateway package. The best course of action is to upgrade to the latest version.
Conclusion
In conclusion, the @cubejs-backend/api-gateway package is vulnerable to a denial of service attack on the Cube API endpoint. To mitigate this vulnerability, users should upgrade to version 0.34.34 of the package. There are no known workarounds for older versions. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for @cubejs-backend/api-gateway →
FAQ
The vulnerability allows an attacker to launch a denial of service attack on the Cube API endpoint, making the entire Cube API unavailable. This can result in a disruption of service for applications relying on the Cube API.
The vulnerability was reported by an independent researcher in the Community Slack of the Cube.js project. The Cube.js team promptly patched the issue in the latest update.
This vulnerability has been assigned a CVSS score of 6.5, indicating a moderate severity level.
There are currently no known workarounds for older versions of the @cubejs-backend/api-gateway package. Upgrading to the latest version is the recommended solution.
More information about this vulnerability can be found in the GitHub Advisory Database, specifically in the advisory for GHSA-9759-3276-g2pm.
Related vulnerabilities
Recent vulnerabilities recorded for @cubejs-backend/api-gateway.