CVE-2023-34049 (GCVE-0-2023-34049)
Vulnerability from cvelistv5 – Published: 2024-11-14 04:13 – Updated: 2024-11-14 15:20
VLAI
EPSS
VEX
Title
Salt security advisory release - 2023-OCT-27
Summary
The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH. Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.
Severity
6.7 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-11-14 15:12 UTC
Assigner
References
1 reference
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Salt | SALT |
Affected:
3005 , < 3005.4
(oss)
Affected: 3004 , < 3006.4 (oss) |
guessed | |
| salt_project | salt |
Affected:
3005 , < 3005.4
(custom)
Affected: 3004 , < 3006.4 (custom) cpe:2.3:a:salt_project:salt:*:*:*:*:*:*:*:* |
Date Public
2023-10-28 04:08
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:salt_project:salt:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"product": "salt",
"vendor": "salt_project",
"versions": [
{
"lessThan": "3005.4",
"status": "affected",
"version": "3005",
"versionType": "custom"
},
{
"lessThan": "3006.4",
"status": "affected",
"version": "3004",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2023-34049",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-11-14T15:12:53.355210Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-noinfo Not enough information",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-11-14T15:20:15.288Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageName": "SALT",
"product": "SALT",
"vendor": "Salt",
"versions": [
{
"lessThan": "3005.4",
"status": "affected",
"version": "3005",
"versionType": "oss"
},
{
"lessThan": "3006.4",
"status": "affected",
"version": "3004",
"versionType": "oss"
}
]
}
],
"datePublic": "2023-10-28T04:08:00.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH.\u0026nbsp;\u003cspan style=\"background-color: rgb(254, 254, 254);\"\u003eDo not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.\u003c/span\u003e\u003cbr\u003e\u003cbr\u003e"
}
],
"value": "The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH.\u00a0Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-11-14T04:13:55.255Z",
"orgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
"shortName": "vmware"
},
"references": [
{
"url": "https://saltproject.io/security-announcements/2023-10-27-advisory/"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Salt security advisory release - 2023-OCT-27",
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
"assignerShortName": "vmware",
"cveId": "CVE-2023-34049",
"datePublished": "2024-11-14T04:13:55.255Z",
"dateReserved": "2023-05-25T17:21:56.202Z",
"dateUpdated": "2024-11-14T15:20:15.288Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2023-34049",
"date": "2026-09-16",
"epss": "0.00187",
"percentile": "0.08556"
},
"fkie_nvd": {
"descriptions": "[{\"lang\": \"en\", \"value\": \"The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH.\\u00a0Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.\"}, {\"lang\": \"es\", \"value\": \"La opci\\u00f3n de pre-vuelo de Salt-SSH copia el script al destino en una ruta predecible, lo que permite a un atacante forzar a Salt-SSH a ejecutar su script. Si un atacante tiene acceso a la m\\u00e1quina virtual de destino y conoce la ruta al script de pre-vuelo antes de que se ejecute, puede asegurarse de que Salt-SSH ejecute su script con los privilegios del usuario que ejecuta Salt-SSH. No haga que la ruta de copia en el destino sea predecible y aseg\\u00farese de verificar los c\\u00f3digos de retorno del comando scp si la copia falla.\"}]",
"id": "CVE-2023-34049",
"lastModified": "2024-11-15T13:58:08.913",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"security@vmware.com\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H\", \"baseScore\": 6.7, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"REQUIRED\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 0.8, \"impactScore\": 5.9}]}",
"published": "2024-11-14T05:15:28.260",
"references": "[{\"url\": \"https://saltproject.io/security-announcements/2023-10-27-advisory/\", \"source\": \"security@vmware.com\"}]",
"sourceIdentifier": "security@vmware.com",
"vulnStatus": "Awaiting Analysis"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2023-34049\",\"sourceIdentifier\":\"security@vmware.com\",\"published\":\"2024-11-14T05:15:28.260\",\"lastModified\":\"2026-06-17T06:02:48.060\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH.\u00a0Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.\"},{\"lang\":\"es\",\"value\":\"La opci\u00f3n de pre-vuelo de Salt-SSH copia el script al destino en una ruta predecible, lo que permite a un atacante forzar a Salt-SSH a ejecutar su script. Si un atacante tiene acceso a la m\u00e1quina virtual de destino y conoce la ruta al script de pre-vuelo antes de que se ejecute, puede asegurarse de que Salt-SSH ejecute su script con los privilegios del usuario que ejecuta Salt-SSH. No haga que la ruta de copia en el destino sea predecible y aseg\u00farese de verificar los c\u00f3digos de retorno del comando scp si la copia falla.\"}],\"affected\":[{\"source\":\"security@vmware.com\",\"affectedData\":[{\"vendor\":\"Salt\",\"product\":\"SALT\",\"defaultStatus\":\"unaffected\",\"packageName\":\"SALT\",\"versions\":[{\"version\":\"3005\",\"lessThan\":\"3005.4\",\"versionType\":\"oss\",\"status\":\"affected\"},{\"version\":\"3004\",\"lessThan\":\"3006.4\",\"versionType\":\"oss\",\"status\":\"affected\"}]}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"affectedData\":[{\"vendor\":\"salt_project\",\"product\":\"salt\",\"defaultStatus\":\"unaffected\",\"cpes\":[\"cpe:2.3:a:salt_project:salt:*:*:*:*:*:*:*:*\"],\"versions\":[{\"version\":\"3005\",\"lessThan\":\"3005.4\",\"versionType\":\"custom\",\"status\":\"affected\"},{\"version\":\"3004\",\"lessThan\":\"3006.4\",\"versionType\":\"custom\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@vmware.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H\",\"baseScore\":6.7,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":0.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-11-14T15:12:53.355210Z\",\"id\":\"CVE-2023-34049\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"references\":[{\"url\":\"https://saltproject.io/security-announcements/2023-10-27-advisory/\",\"source\":\"security@vmware.com\"}]}}",
"redhat_vex": {
"current_release_date": "2025-11-21T15:04:12+00:00",
"cve": "CVE-2023-34049",
"id": "CVE-2023-34049",
"initial_release_date": "2023-10-30T00:00:00+00:00",
"product_status:known_not_affected": "1",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "salt: allows an attacker to force Salt-SSH to run their script",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-34049.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "important",
"current_release_date": "2026-08-31T01:11:13Z",
"cve": "CVE-2023-34049",
"id": "CVE-2023-34049",
"initial_release_date": "2025-02-14T06:24:29Z",
"product_status:known_affected": "523",
"product_status:recommended": "543",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2023-34049",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-34049.json",
"version": "23"
},
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-34049\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-11-14T15:12:53.355210Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:salt_project:salt:*:*:*:*:*:*:*:*\"], \"vendor\": \"salt_project\", \"product\": \"salt\", \"versions\": [{\"status\": \"affected\", \"version\": \"3005\", \"lessThan\": \"3005.4\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"3004\", \"lessThan\": \"3006.4\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unaffected\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"description\": \"CWE-noinfo Not enough information\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-11-14T15:18:00.386Z\"}}], \"cna\": {\"title\": \"Salt security advisory release - 2023-OCT-27\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.7, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"Salt\", \"product\": \"SALT\", \"versions\": [{\"status\": \"affected\", \"version\": \"3005\", \"lessThan\": \"3005.4\", \"versionType\": \"oss\"}, {\"status\": \"affected\", \"version\": \"3004\", \"lessThan\": \"3006.4\", \"versionType\": \"oss\"}], \"packageName\": \"SALT\", \"defaultStatus\": \"unaffected\"}], \"datePublic\": \"2023-10-28T04:08:00.000Z\", \"references\": [{\"url\": \"https://saltproject.io/security-announcements/2023-10-27-advisory/\"}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH.\\u00a0Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH.\u0026nbsp;\u003cspan style=\\\"background-color: rgb(254, 254, 254);\\\"\u003eDo not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.\u003c/span\u003e\u003cbr\u003e\u003cbr\u003e\", \"base64\": false}]}], \"providerMetadata\": {\"orgId\": \"dcf2e128-44bd-42ed-91e8-88f912c1401d\", \"shortName\": \"vmware\", \"dateUpdated\": \"2024-11-14T04:13:55.255Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2023-34049\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-11-14T15:20:15.288Z\", \"dateReserved\": \"2023-05-25T17:21:56.202Z\", \"assignerOrgId\": \"dcf2e128-44bd-42ed-91e8-88f912c1401d\", \"datePublished\": \"2024-11-14T04:13:55.255Z\", \"assignerShortName\": \"vmware\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
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…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…