#VU94831 Path traversal in Bert-VITS2 - CVE-2024-39688
Published: July 29, 2024
Bert-VITS2
Fish Audio
Description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in the generate_config function in webui_preprocess.py. A remote attacker can send a specially crafted HTTP request and write arbitrary files on the system.
Remediation
External links
- https://securitylab.github.com/advisories/GHSL-2024-045_GHSL-2024-047_fishaudio_Bert-VITS2/
- https://github.com/fishaudio/Bert-VITS2/blob/76653b5b6d657143721df2ed6c5c246b4b1d9277/webui_preprocess.py#L130-L133
- https://github.com/fishaudio/Bert-VITS2/blob/76653b5b6d657143721df2ed6c5c246b4b1d9277/webui_preprocess.py#L34