Critical severity · published Apr 16, 2024
CVE-2024-32022
Kohya_ss is vulnerable to a command injection in basic_caption_gui.py (GHSL-2024-019)
9.8
CVSS
3.1%
EPSS
No
On KEV
Description
Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss is vulnerable to command injection in basic_caption_gui.py. This vulnerability is fixed in 23.1.5.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.1% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KO
kohya_ss · bmaltais
>= 22.6.1, < 23.1.5 · source: vendor
KS
Kohya SS · Bmaltais
22.6.1 before 23.1.15 · source: NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-32022
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-32022
Patch
https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1
Third Party Advisory
https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-m6jq-7j4v-2fg3
Exploit
https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss
More from kohya_ss
9.8
CVE-2024-32027
Kohya_ss is vulnerable to a command injection in `finetune_gui.py` (`GHSL-2024-022`)
9.8
CVE-2024-32026
Kohya_ss is vulnerable to a command injection in `git_caption_gui.py` (`GHSL-2024-020`)
9.1
CVE-2024-32025
Kohya_ss is vulnerable to a command injection in `group_images_gui.py` (`GHSL-2024-021`)
6.5
CVE-2024-32024
Kohya_ss vulenrable to path injection in `common_gui.py` `add_pre_postfix` function (`GHSL-2024-023`)
5.3
CVE-2024-32023
Kohya_ss vulnerable to path injection in `common_gui.py` `find_and_replace` function (`GHSL-2024-024`)
