CVE-2023-41891 FlyteAdmin SQL Injection in List Filters
Authenticated attackers can inject SQL via list filters in FlyteAdmin to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-41891?
CVE-2023-41891 is a low-severity SQL injection vulnerability in flyteorg flyteadmin, published on 30 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
FlyteAdmin is the control plane for Flyte responsible for managing entities and administering workflow executions. Prior to version 1.1.124, list endpoints on FlyteAdmin have a SQL vulnerability where a malicious user can send a REST request with custom SQL statements as list filters. The attacker needs to have access to the FlyteAdmin installation, typically either behind a VPN or authentication. Version 1.1.124 contains a patch for this issue.
Weakness: CWE-89
Which versions are affected by CVE-2023-41891?
3 open source packages ship an affected version, including github.com/flyteorg/flyteadmin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/flyteorg/flyteadmin Go | All versions | 1.1.124 |
github.com/flyteorg/flyteadmin Go | All versions | 1.1.124 |
github.com/flyteorg/flyteadmin Go | All versions | 1.1.124 |
Products include Flyte Flyteadmin.
How do I fix CVE-2023-41891?
Upgrade github.com/flyteorg/flyteadmin to 1.1.124 or later.
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-2023-41891 being exploited?
There is no known exploitation of CVE-2023-41891 in the wild and no public exploit code.
Other vulnerabilities in flyteorg flyteadmin
Sources
Also known as GHSA-r847-6w6h-r8g4, GO-2023-2162.