cve/2024/CVE-2024-32027.md
2025-09-29 16:08:36 +00:00

22 lines
1.1 KiB
Markdown

### [CVE-2024-32027](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32027)
![](https://img.shields.io/static/v1?label=Product&message=kohya_ss&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%2022.6.1%2C%20%3C%2023.1.5%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-77%3A%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20a%20Command%20('Command%20Injection')&color=brighgreen)
### Description
Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss v22.6.1 is vulnerable to command injection in `finetune_gui.py` This vulnerability is fixed in 23.1.5.
### POC
#### Reference
- https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss
#### Github
- https://github.com/jayB133/codeql-workshop
- https://github.com/sylwia-budzynska/2025-codergirls-codeql-workshop
- https://github.com/sylwia-budzynska/2025-soss-codeql-workshop
- https://github.com/sylwia-budzynska/codeql-workshop
- https://github.com/sylwia-budzynska/orangecon-2024-codeql-workshop