CVE-2024-39686 CRITICAL

CVE-2024-39686: fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py bert_gen function

Vendor Fishaudio
Product Bert-VITS2
Weakness CWE-78
Published July 22, 2024
Last update August 2, 2024

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 22, 2024 CVE published
August 2, 2024 Record updated