Skip to content
OpenAdvisories
Critical · 9.8 CVE-2024-39686 EUVD-2024-38188

fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py bert_gen function

Published Jul 22, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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 bert_gen function, which leads to arbitrary command execution. This affects fishaudio/Bert-VITS2 2.3 and earlier.

Affected products

VendorProductAffectedFixed
FishAudio Bert-VITS2 <= 2.3 —

References