CVE-2025-59302
BaseFortify
Publication date: 2025-11-27
Last updated on: 2025-12-02
Assigner: Apache Software Foundation
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| apache | cloudstack | From 4.18.0.0 (inc) to 4.20.2.0 (exc) |
| apache | cloudstack | 4.21.0.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a code injection issue in Apache CloudStack affecting certain admin-only APIs. It allows improper control over the generation of code via JavaScript expressions in APIs such as quotaTariffCreate, quotaTariffUpdate, createSecondaryStorageSelector, updateSecondaryStorageSelector, updateHost, and updateStorage. This means an attacker with admin access could inject malicious code through these APIs.
How can this vulnerability impact me? :
If exploited, this vulnerability could allow an attacker with admin privileges to execute arbitrary code within Apache CloudStack, potentially leading to unauthorized actions, data manipulation, or system compromise. This could undermine the security and integrity of the cloud environment.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should upgrade Apache CloudStack to version 4.20.2 or 4.22.0 or later, which contain the fix. Additionally, configure the new global configuration flag js.interpretation.enabled to control the interpretation of JavaScript expressions in the affected admin-only APIs, thereby reducing the risk of code injection.