Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-22967

An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2. PAM auth fails to reject locked accounts, which allows a previously authorized user whose account is locked still run Salt commands when their account is locked. This affects both local shell accounts with an active session and salt-api users that authenticate via PAM eauth.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-22967
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:31 UTC · Revision 1

Source evidence

CVE-2022-22967

core-osv · Original source

Published 22 Jun 2022, 00:00 UTC

An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2. PAM auth fails to reject locked accounts, which allows a previously authorized user whose account is locked still run Salt commands when their account is locked. This affects both local shell accounts with an active session and salt-api users that authenticate via PAM eauth.

osv:CVE-2022-22967
Complete source record
{
  "id": "ca3326b257fd080050de5163c8c0bac288b1104fc7abda06647162c5128d0acb",
  "url": "https://osv.dev/vulnerability/CVE-2022-22967",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-22967",
    "summary": "An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2. PAM auth fails to reject locked accounts, which allows a previously authorized user whose account is locked still run Salt commands when their account is locked. This affects both local shell accounts with an active session and salt-api users that authenticate via PAM eauth.",
    "evidence": "osv:CVE-2022-22967",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-22967",
      "aliases": [
        "CVE-2022-22967",
        "GHSA-fpxm-fprw-6hxj",
        "PYSEC-2022-210"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/saltstack/salt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e8fb2b423948248d5c90cbdfa8a870d306b92d1d"
                },
                {
                  "introduced": "6fa95b058b9d999c23dff5eb2ba4127aa2dc8b71"
                },
                {
                  "fixed": "3fa1e4c4d972d362b14eb767231f29a7a702d2b8"
                },
                {
                  "introduced": "fec6e71228f67d1d7bbf1abe32f98acb392d3697"
                },
                {
                  "fixed": "604c955718aa3622236e0c131731a7bb54beb825"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3002.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3003"
                      },
                      {
                        "fixed": "3003.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3004"
                      },
                      {
                        "fixed": "3004.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3002.8",
            "v3003.4",
            "v3004.1",
            "v3004",
            "v3004rc1",
            "v3002.7",
            "v3003.3",
            "v3002.6",
            "v3003.2",
            "v3003.1",
            "v3003_docs",
            "v3003rc1",
            "v3002.5",
            "v3002.4",
            "v3002.3",
            "v3002.2",
            "v3002",
            "v3002rc1",
            "v3001.1",
            "v3001",
            "v3001rc1",
            "v3000.1",
            "v3000_docs",
            "v3000",
            "v3000.0rc1",
            "v3000.0rc2",
            "v2019.2.1",
            "v2019.2.1rc1",
            "v2019.2",
            "v2018.11",
            "v2017.7",
            "v2017.5",
            "v2018.3",
            "v2018.2",
            "v2016.9",
            "v2016.11",
            "v2016.3",
            "v2015.8",
            "v2015.5",
            "v2015.2",
            "v2014.7",
            "v2014.1",
            "v0.17",
            "v0.16",
            "v0.15.0",
            "v0.14.0",
            "v0.13.0",
            "v0.12.0",
            "v0.11.0",
            "v0.10.5",
            "v0.10.4",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.9.9",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.9",
            "v0.8.7",
            "v0.8.0",
            "v0.7.0",
            "v0.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-22967.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.784308551Z",
      "provider": "osv",
      "references": [
        "https://repo.saltproject.io/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22967.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-22967",
        "https://saltproject.io/security_announcements/salt-security-advisory-release-june-21st-2022/%2C",
        "https://security.gentoo.org/glsa/202310-22"
      ],
      "provider_metadata": {
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "3002.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "VersionTextExtraction"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22967.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-22967",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505340,
  "published_at": "2022-06-22T00:00:00+00:00"
}