{"id":"CVE-2024-32023","published":"2024-04-16T14:39:21Z","modified":"2024-08-02T01:59:50Z","title":"Kohya_ss vulnerable to path injection in `common_gui.py` `find_and_replace` function (`GHSL-2024-024`)","vendor":"bmaltais","product":"kohya_ss","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00652,"percentile":0.52204,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"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","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.44},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"bmaltais","affectedVersions":[{"vendor":"bmaltais","product":"kohya_ss","versions":[">= 22.6.1, < 23.1.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-05-13T19:00:17.600296Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-29861","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-bmaltais-kohya-ss-cve-2024-32023","children":[{"from":"CVE-2024-32023","to":"CVE-2024-32024","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kohya_gui/common_gui.py"],"commits":["https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650","https://github.com/bmaltais/kohya_ss/commit/25bb1303fff21cb5bae17236d53504e85c1866df"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.51,"basis":"same product + CWE + description similarity"}]}]}}