CVE-2023-7148 ShifuML shifu Java Expression Language DataPurifier.java code injection
Remote attackers can execute arbitrary code via Java Expression Language injection in ShifuML shifu, requiring high complexity and permissions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-7148?
CVE-2023-7148 is a medium-severity code injection vulnerability in ShifuML shifu, published on 29 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability has been found in ShifuML shifu 0.12.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file src/main/java/ml/shifu/shifu/core/DataPurifier.java of the component Java Expression Language Handler. The manipulation of the argument FilterExpression leads to code injection. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-249151.
Weakness: CWE-94
Which versions are affected by CVE-2023-7148?
2 open source packages ship an affected version, including ml.shifu:shifu. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ml.shifu:shifu Maven | All versions to 0.12.0 | None |
ml.shifu:shifu Maven | All versions to 0.12.0 | None |
Products include Shifuml Shifu.
How do I fix CVE-2023-7148?
No fix has been published for CVE-2023-7148 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2023-7148 being exploited?
There is no known exploitation of CVE-2023-7148 in the wild and no public exploit code.
Sources
Also known as GHSA-5fpq-3c9p-3r3w.