CVE-2020-5427 Possibility of SQL Injection in Spring Cloud Data Flow Task Execution Sorting Query
Attackers can inject SQL commands via task execution sorting queries in Spring Cloud Data Flow, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-5427?
CVE-2020-5427 is a medium-severity SQL injection vulnerability in Spring Cloud Data Flow, published on 27 Jan 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
In Spring Cloud Data Flow, versions 2.6.x prior to 2.6.5, versions 2.5.x prior 2.5.4, an application is vulnerable to SQL injection when requesting task execution.
Weakness: CWE-89
Which versions are affected by CVE-2020-5427?
1 open source package ship an affected version, including spring-cloud-dataflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
spring-cloud-dataflow Bitnami | From 2.5.0 | 2.5.4, 2.6.5 |
Products include Vmware Spring Cloud Data Flow.
How do I fix CVE-2020-5427?
Upgrade spring-cloud-dataflow to a fixed version for your release line: 2.5.4 or 2.6.5.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2020-5427 being exploited?
There is no known exploitation of CVE-2020-5427 in the wild and no public exploit code.
Other vulnerabilities in Spring Cloud Data Flow
Sources
Also known as BIT-spring-cloud-dataflow-2020-5427, GHSA-62q3-rvgv-rchp.