CVE-2024-39686

Source
https://cve.org/CVERecord?id=CVE-2024-39686
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-39686.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-39686
Published
2024-07-22T15:16:17.258Z
Modified
2026-04-15T04:46:34.289977Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py bert_gen function
Details

Bert-VITS2 is the VITS2 Backbone with multilingual bert. User input supplied to the datadir variable is used directly in a command executed with subprocess.run(cmd, shell=True) in the bertgen function, which leads to arbitrary command execution. This affects fishaudio/Bert-VITS2 2.3 and earlier.

Database specific
{
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39686.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "2.3"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/fishaudio/bert-vits2

Affected ranges

Type
GIT
Repo
https://github.com/fishaudio/bert-vits2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.3"
        }
    ]
}

Affected versions

1.*
1.0
1.0.1
1.1
1.1.1
2.*
2.0.1
2.1
v2.*
v2.0.2.1
v2.2
v2.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-39686.json"