CVE-2024-32027 (GCVE-0-2024-32027)
Vulnerability from cvelistv5 – Published: 2024-04-16 14:46 – Updated: 2024-08-02 01:59
VLAI?
Title
Kohya_ss is vulnerable to a command injection in `finetune_gui.py` (`GHSL-2024-022`)
Summary
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.
Severity ?
9.1 (Critical)
CWE
- CWE-77 - Improper Neutralization of Special Elements used in a Command ('Command Injection')
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:kohya_ss:kohya_ss:22.61:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "kohya_ss",
"vendor": "kohya_ss",
"versions": [
{
"status": "affected",
"version": "22.61"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-32027",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-04-22T16:33:32.850219Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-04T17:50:37.566Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T01:59:50.840Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83"
},
{
"name": "https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1"
},
{
"name": "https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "kohya_ss",
"vendor": "bmaltais",
"versions": [
{
"status": "affected",
"version": "\u003e= 22.6.1, \u003c 23.1.5"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Kohya_ss is a GUI for Kohya\u0027s 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."
}
],
"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",
"description": "CWE-77: Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-04-19T16:12:00.273Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83"
},
{
"name": "https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1"
},
{
"name": "https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss",
"tags": [
"x_refsource_MISC"
],
"url": "https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss"
}
],
"source": {
"advisory": "GHSA-8h78-3vqm-xw83",
"discovery": "UNKNOWN"
},
"title": "Kohya_ss is vulnerable to a command injection in `finetune_gui.py` (`GHSL-2024-022`)"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-32027",
"datePublished": "2024-04-16T14:46:24.185Z",
"dateReserved": "2024-04-09T15:29:35.937Z",
"dateUpdated": "2024-08-02T01:59:50.840Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2024-32027\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-04-16T15:15:37.903\",\"lastModified\":\"2025-09-08T19:30:53.710\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Kohya_ss is a GUI for Kohya\u0027s 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.\"},{\"lang\":\"es\",\"value\":\"Kohya_ss es una GUI para los entrenadores Stable Diffusion de Kohya. Kohya_ss v22.6.1 es vulnerable a la inyecci\u00f3n de comandos en `finetune_gui.py`. Esta vulnerabilidad se solucion\u00f3 en 23.1.5.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\",\"baseScore\":9.1,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":5.2},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-77\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:bmaltais:kohya_ss:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"22.6.1\",\"versionEndExcluding\":\"24.0.1\",\"matchCriteriaId\":\"2738F1DF-EA29-4B81-9A31-EC70324D4D3C\"}]}]}],\"references\":[{\"url\":\"https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83\", \"name\": \"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83\", \"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\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T01:59:50.840Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-32027\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-04-22T16:33:32.850219Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:kohya_ss:kohya_ss:22.61:*:*:*:*:*:*:*\"], \"vendor\": \"kohya_ss\", \"product\": \"kohya_ss\", \"versions\": [{\"status\": \"affected\", \"version\": \"22.61\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-04-22T16:34:23.606Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"Kohya_ss is vulnerable to a command injection in `finetune_gui.py` (`GHSL-2024-022`)\", \"source\": {\"advisory\": \"GHSA-8h78-3vqm-xw83\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"bmaltais\", \"product\": \"kohya_ss\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 22.6.1, \u003c 23.1.5\"}]}], \"references\": [{\"url\": \"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83\", \"name\": \"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83\", \"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\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Kohya_ss is a GUI for Kohya\u0027s 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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-77\", \"description\": \"CWE-77: Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-04-19T16:12:00.273Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-32027\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-02T01:59:50.840Z\", \"dateReserved\": \"2024-04-09T15:29:35.937Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-04-16T14:46:24.185Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…