We use cookies to improve your experience on our site.
AVID-2026-R1469
Description
Kohya_ss is vulnerable to a command injection in basic_caption_gui.py (GHSL-2024-019) (CVE-2024-32022)
Details
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.
Reason for inclusion in AVID: CVE-2024-32022 reports a command injection vulnerability in Kohya_ss, a GUI tool used for training Stable Diffusion models. This is a software flaw in a component commonly used in AI model development/stack; it impacts the AI software supply chain (training tool, dependencies). The vulnerability is security-related (RCE). Evidence: CVE entry and advisories.
References
- NVD entry
- https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-m6jq-7j4v-2fg3
- https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1
- https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss
Affected or Relevant Artifacts
- Developer: bmaltais
- Deployer: bmaltais
- Artifact Details:
| Type | Name |
|---|---|
| System | kohya_ss |
Impact
AVID Taxonomy Categorization
- Risk domains: Security
- SEP subcategories: S0100: Software Vulnerability
- Lifecycle stages: L06: Deployment
CVSS
| Version | 3.1 |
| Vector String | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Base Score | 9.1 |
| Base Severity | 🔴 Critical |
| Attack Vector | NETWORK |
| Attack Complexity | 🟢 Low |
| Privileges Required | NONE |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | 🔴 High |
| Integrity Impact | 🔴 High |
| Availability Impact | NONE |
CWE
| ID | Description |
|---|---|
| CWE-77 | CWE-77: Improper Neutralization of Special Elements used in a Command (‘Command Injection’) |
Other information
- Report Type: Advisory
- Credits:
- Date Reported: 2024-04-16
- Version: 0.3.3
- AVID Entry