CVE-2023-50709 Denial of service attack on the cube-api endpoint
Attackers can cause service disruption by sending crafted requests to the Cube API, requiring users to upgrade to the latest version.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-50709?
CVE-2023-50709 is a medium-severity denial of service vulnerability in cube-js cube, published on 13 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Cube is a semantic layer for building data applications. Prior to version 0.34.34, it is possible to make the entire Cube API unavailable by submitting a specially crafted request to a Cube API endpoint. The issue has been patched in `v0.34.34` and it's recommended that all users exposing Cube APIs to the public internet upgrade to the latest version to prevent service disruption. There are currently no workaround for older versions, and the recommendation is to upgrade.
Weakness: CWE-20
Which versions are affected by CVE-2023-50709?
2 open source packages ship an affected version, including @cubejs-backend/api-gateway. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@cubejs-backend/api-gateway npm | All versions | 0.34.34 |
@cubejs-backend/api-gateway npm | All versions | 0.34.34 |
Products include Cube Cube.js.
How do I fix CVE-2023-50709?
Upgrade @cubejs-backend/api-gateway to 0.34.34 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-50709 being exploited?
There is no known exploitation of CVE-2023-50709 in the wild and no public exploit code.
Other vulnerabilities in cube-js cube
Sources
Also known as GHSA-9759-3276-g2pm.