CVE-2024-39685 fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py resample function
Attackers can execute arbitrary commands via the data_dir input in the resample function of Bert-VITS2, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-39685?
CVE-2024-39685 is a critical command injection vulnerability in FishAudio Bert-VITS2, published on 22 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Bert-VITS2 is the VITS2 Backbone with multilingual bert. User input supplied to the data_dir variable is used directly in a command executed with subprocess.run(cmd, shell=True) in the resample function, which leads to arbitrary command execution. This affects fishaudio/Bert-VITS2 2.3 and earlier.
Weakness: CWE-78
Which versions are affected by CVE-2024-39685?
It affects 1 product.
Products include Fish.audio Bert-Vits2.
How do I fix CVE-2024-39685?
No fix has been published for CVE-2024-39685 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-39685 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39685 exists.