Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-39688— fishaudio/Bert-VITS2 Limited File Write in webui_preprocess.py generate_config function

Quick assessment

Affected
FishAudio Bert-VITS2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Bert-VITS2是Fish Audio开源的一种文本转语音模型的主干。 Bert-VITS2 2.3版本存在安全漏洞,该漏洞源于文件写入受限,允许在服务器上的任意目录中写入/config/config.json文件。

CVSS 6.5 · Medium EPSS 0.50% · P43
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-39688

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
fishaudio/Bert-VITS2 Limited File Write in webui_preprocess.py generate_config function
Source: CVE Program / CVE List V5
Vulnerability Description
Bert-VITS2 is the VITS2 Backbone with multilingual bert. User input supplied to the data_dir variable is concatenated with other folders and used to open a new file in the generate_config function, which leads to a limited file write. The issue allows for writing /config/config.json file in arbitrary directory on the server. If a given directory path doesn’t exist, the application will return an error, so this vulnerability could also be used to gain information about existing directories on the server. This affects fishaudio/Bert-VITS2 2.3 and earlier.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Bert-VITS2 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Bert-VITS2是Fish Audio开源的一种文本转语音模型的主干。 Bert-VITS2 2.3版本存在安全漏洞,该漏洞源于文件写入受限,允许在服务器上的任意目录中写入/config/config.json文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FishAudio Bert-VITS2 <= 2.3 -

II. Public POCs for CVE-2024-39688

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-39688

请登录查看更多情报信息。

Other References for CVE-2024-39688 (3)

Same Patch Batch · FishAudio · 2024-07-22 · 3 CVEs total

CVE-2024-39685 9.8 CRITICAL fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py resample function
CVE-2024-39686 9.8 CRITICAL fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py bert_gen function

IV. Related Vulnerabilities