CVE-2025-22237 (GCVE-0-2025-22237)

Vulnerability from cvelistv5 – Published: 2025-06-13 06:55 – Updated: 2026-02-26 17:50
VLAI
Title
CVE-2025-22237 salt advisory
Summary
An attacker with access to a minion key can exploit the 'on demand' pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator (v2.0.3)
CWE
  • CWE-77 - Improper Neutralization of Special Elements used in a Command ('Command Injection')
Assigner
Impacted products
Vendor Product Version
VMware SALT Affected: 3006.x , < 3006.12 (lts)
Affected: 3007.x , < 3007.4 (sts)
Create a notification for this product.
Date Public
2025-06-12 07:33
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-22237",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-06-14T03:56:05.788367Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "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": "2026-02-26T17:50:38.381Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageName": "Salt",
          "product": "SALT",
          "vendor": "VMware",
          "versions": [
            {
              "lessThan": "3006.12",
              "status": "affected",
              "version": "3006.x",
              "versionType": "lts"
            },
            {
              "lessThan": "3007.4",
              "status": "affected",
              "version": "3007.x",
              "versionType": "sts"
            }
          ]
        }
      ],
      "datePublic": "2025-06-12T07:33:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eAn attacker with access to a minion key can exploit the \u0027on demand\u0027 pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process.\u003cbr\u003e\u003c/p\u003e"
            }
          ],
          "value": "An attacker with access to a minion key can exploit the \u0027on demand\u0027 pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.7,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-13T06:55:39.704Z",
        "orgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
        "shortName": "vmware"
      },
      "references": [
        {
          "url": "https://docs.saltproject.io/en/3006/topics/releases/3006.12.html"
        },
        {
          "url": "https://docs.saltproject.io/en/3007/topics/releases/3007.4.html"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "CVE-2025-22237 salt advisory",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
    "assignerShortName": "vmware",
    "cveId": "CVE-2025-22237",
    "datePublished": "2025-06-13T06:55:39.704Z",
    "dateReserved": "2025-01-02T04:30:06.833Z",
    "dateUpdated": "2026-02-26T17:50:38.381Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-22237",
      "date": "2026-07-16",
      "epss": "0.00157",
      "percentile": "0.05279"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-22237\",\"sourceIdentifier\":\"security@vmware.com\",\"published\":\"2025-06-13T07:15:21.010\",\"lastModified\":\"2026-06-17T08:45:49.413\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"An attacker with access to a minion key can exploit the \u0027on demand\u0027 pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process.\"},{\"lang\":\"es\",\"value\":\"Un atacante con acceso a una clave de subordinado puede explotar la funcionalidad del pilar \\\"a pedido\\\" con una URL git especialmente manipulada que podr\u00eda hacer que se ejecute un comando arbitrario en el maestro con los mismos privilegios que el proceso maestro.\"}],\"affected\":[{\"source\":\"security@vmware.com\",\"affectedData\":[{\"vendor\":\"VMware\",\"product\":\"SALT\",\"defaultStatus\":\"unaffected\",\"packageName\":\"Salt\",\"versions\":[{\"version\":\"3006.x\",\"lessThan\":\"3006.12\",\"versionType\":\"lts\",\"status\":\"affected\"},{\"version\":\"3007.x\",\"lessThan\":\"3007.4\",\"versionType\":\"sts\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@vmware.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":6.7,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":0.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2025-06-14T03:56:05.788367Z\",\"id\":\"CVE-2025-22237\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-77\"}]}],\"references\":[{\"url\":\"https://docs.saltproject.io/en/3006/topics/releases/3006.12.html\",\"source\":\"security@vmware.com\"},{\"url\":\"https://docs.saltproject.io/en/3007/topics/releases/3007.4.html\",\"source\":\"security@vmware.com\"}]}}",
    "redhat_vex": {
      "current_release_date": "2026-03-26T21:33:47+00:00",
      "cve": "CVE-2025-22237",
      "id": "CVE-2025-22237",
      "initial_release_date": "2025-06-13T06:55:39.704000+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "salt: Code injection in salt project",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-22237.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-22237\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-06-14T03:56:05.788367Z\"}}}], \"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\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-06-13T13:52:54.401Z\"}}], \"cna\": {\"title\": \"CVE-2025-22237 salt advisory\", \"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:L/PR:H/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"HIGH\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"VMware\", \"product\": \"SALT\", \"versions\": [{\"status\": \"affected\", \"version\": \"3006.x\", \"lessThan\": \"3006.12\", \"versionType\": \"lts\"}, {\"status\": \"affected\", \"version\": \"3007.x\", \"lessThan\": \"3007.4\", \"versionType\": \"sts\"}], \"packageName\": \"Salt\", \"defaultStatus\": \"unaffected\"}], \"datePublic\": \"2025-06-12T07:33:00.000Z\", \"references\": [{\"url\": \"https://docs.saltproject.io/en/3006/topics/releases/3006.12.html\"}, {\"url\": \"https://docs.saltproject.io/en/3007/topics/releases/3007.4.html\"}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"An attacker with access to a minion key can exploit the \u0027on demand\u0027 pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eAn attacker with access to a minion key can exploit the \u0027on demand\u0027 pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process.\u003cbr\u003e\u003c/p\u003e\", \"base64\": false}]}], \"providerMetadata\": {\"orgId\": \"dcf2e128-44bd-42ed-91e8-88f912c1401d\", \"shortName\": \"vmware\", \"dateUpdated\": \"2025-06-13T06:55:39.704Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-22237\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-02-26T17:50:38.381Z\", \"dateReserved\": \"2025-01-02T04:30:06.833Z\", \"assignerOrgId\": \"dcf2e128-44bd-42ed-91e8-88f912c1401d\", \"datePublished\": \"2025-06-13T06:55:39.704Z\", \"assignerShortName\": \"vmware\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}