{"id":"CVE-2024-32023","state":"PUBLISHED","title":"Kohya_ss vulnerable to path injection in `common_gui.py` `find_and_replace` function (`GHSL-2024-024`)","description":"Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss is vulnerable to a path injection in the `common_gui.py` `find_and_replace` function. This vulnerability is fixed in 23.1.5.","publishedAt":"2024-04-16T14:39:21.366Z","updatedAt":"2024-08-02T01:59:50.833Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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-p945-7qm7-7j53","https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650","https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/32xxx/CVE-2024-32023.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-32023","state":"PUBLISHED","datePublished":"2024-04-16T14:39:21.366Z","dateUpdated":"2024-08-02T01:59:50.833Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-09T15:29:35.937Z"},"containers":{"cna":{"title":"Kohya_ss vulnerable to path injection in `common_gui.py` `find_and_replace` function (`GHSL-2024-024`)","descriptions":[{"lang":"en","value":"Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss is vulnerable to a path injection in the `common_gui.py` `find_and_replace` function. 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-p945-7qm7-7j53","name":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650","name":"https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650","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":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-04-19T16:10:26.185Z"},"source":{"advisory":"GHSA-p945-7qm7-7j53","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"bmaltais","product":"kohya_ss","defaultStatus":"unknown","versions":[{"version":"22.6.1","status":"affected","lessThan":"23.1.5","versionType":"custom"}],"cpes":["cpe:2.3:a:bmaltais:kohya_ss:22.6.1:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-32023","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-13T19:00:17.600296Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:51:47.845Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53","name":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650","name":"https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650","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.833Z"}}]}}}