{"id":"CVE-2024-32022","state":"PUBLISHED","title":"Kohya_ss is vulnerable to a command injection in basic_caption_gui.py (GHSL-2024-019)","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.","publishedAt":"2024-04-16T14:46:29.957Z","updatedAt":"2024-08-02T01:59:50.838Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["bmaltais kohya_ss"],"affected":[{"vendor":"bmaltais","product":"kohya_ss","versions":[{"version":">= 22.6.1, < 23.1.5","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/32xxx/CVE-2024-32022.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-32022","state":"PUBLISHED","datePublished":"2024-04-16T14:46:29.957Z","dateUpdated":"2024-08-02T01:59:50.838Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-09T15:29:35.937Z"},"containers":{"cna":{"title":"Kohya_ss is vulnerable to a command injection in basic_caption_gui.py (GHSL-2024-019)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"bmaltais","product":"kohya_ss","versions":[{"version":">= 22.6.1, < 23.1.5","status":"affected"}]}],"references":[{"url":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-m6jq-7j4v-2fg3","name":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-m6jq-7j4v-2fg3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1","name":"https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss","name":"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-04-19T16:09:48.861Z"},"source":{"advisory":"GHSA-m6jq-7j4v-2fg3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"bmaltais","product":"kohya_ss","defaultStatus":"unknown","versions":[{"version":"22.61","status":"affected","lessThan":"23.1.5","versionType":"custom"}],"cpes":["cpe:2.3:a:bmaltais:kohya_ss:22.6.1:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-03T15:37:35.962542Z","id":"CVE-2024-32022","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-03T15:42:23.774Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-m6jq-7j4v-2fg3","name":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-m6jq-7j4v-2fg3","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1","name":"https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss","name":"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:59:50.838Z"}}]}}}