Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-2031

A flaw was found in Samba. The security vulnerability occurs when KDC and the kpasswd service share a single account and set of keys, allowing them to decrypt each other's tickets. A user who has been requested to change their password, can exploit this flaw to obtain and use tickets to other services.

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

Source evidence

CVE-2022-2031

core-osv · Original source

Published 25 Aug 2022, 00:00 UTC

A flaw was found in Samba. The security vulnerability occurs when KDC and the kpasswd service share a single account and set of keys, allowing them to decrypt each other's tickets. A user who has been requested to change their password, can exploit this flaw to obtain and use tickets to other services.

osv:CVE-2022-2031
Complete source record
{
  "id": "2cad3b59e0d682055f31263814d8e24ee636e0b003b57c1e5a0cbe324d5ed16a",
  "url": "https://osv.dev/vulnerability/CVE-2022-2031",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-2031",
    "summary": "A flaw was found in Samba. The security vulnerability occurs when KDC and the kpasswd service share a single account and set of keys, allowing them to decrypt each other's tickets. A user who has been requested to change their password, can exploit this flaw to obtain and use tickets to other services.",
    "evidence": "osv:CVE-2022-2031",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-2031",
      "aliases": [
        "CVE-2022-2031"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/samba-team/samba",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ad06fd8294503b6a27729118dd8c80558d41924a"
                },
                {
                  "introduced": "fc8342bd26d1c55ca5780b427f675f31147b27f9"
                },
                {
                  "fixed": "c8fc01ca36445e87c3e503026a446416d66cd1bf"
                },
                {
                  "introduced": "e95d85f784ae6b19f2cb42cc9039b60b146e5b69"
                },
                {
                  "fixed": "9618af1b66aa7503e02b25c9a0bb5b1f31baffbc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.14.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.15.0"
                      },
                      {
                        "fixed": "4.15.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.16.0"
                      },
                      {
                        "fixed": "4.16.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "ldb-2.4.4",
            "ldb-2.3.4",
            "ldb-2.5.2",
            "samba-4.16.3",
            "samba-4.15.8",
            "samba-4.16.2",
            "ldb-2.5.1",
            "ldb-2.4.3",
            "samba-4.16.1",
            "samba-4.15.7",
            "samba-4.14.13",
            "samba-4.16.0",
            "samba-4.15.6",
            "ldb-2.4.2",
            "ldb-2.3.3",
            "samba-4.15.4",
            "samba-4.14.11",
            "samba-4.15.3",
            "samba-4.14.10",
            "samba-4.15.2",
            "ldb-2.3.2",
            "samba-4.14.9",
            "samba-4.15.1",
            "ldb-2.4.1",
            "ldb-2.3.1",
            "samba-4.14.8",
            "samba-4.15.0",
            "samba-4.14.7",
            "samba-4.14.6",
            "samba-4.14.5",
            "samba-4.14.3",
            "samba-4.14.0",
            "samba-4.14.0rc4",
            "samba-4.14.0rc3",
            "samba-4.14.0rc2",
            "samba-4.14.0rc1",
            "talloc-2.3.2",
            "samba-4.13.0rc1",
            "ldb-2.2.0",
            "ldb-2.1.1",
            "samba-4.12.0rc1",
            "ldb-2.1.0",
            "tevent-0.10.2",
            "tdb-1.4.3",
            "talloc-2.3.1",
            "tevent-0.10.1",
            "tdb-1.4.2",
            "talloc-2.3.0",
            "samba-4.11.0rc1",
            "ldb-2.0.5",
            "tdb-1.4.1",
            "ldb-1.6.3",
            "tevent-0.10.0",
            "talloc-2.2.0",
            "tdb-1.4.0",
            "ldb-1.6.2",
            "tevent-0.9.39",
            "talloc-2.1.16",
            "tdb-1.3.18",
            "ldb-1.6.1",
            "samba-4.10.0rc1",
            "ldb-1.5.2",
            "tevent-0.9.38",
            "talloc-2.1.15",
            "tdb-1.3.17",
            "ldb-1.5.1",
            "ldb-1.5.0",
            "samba-4.9.0rc1",
            "ldb-1.4.1",
            "talloc-2.1.14",
            "tdb-1.3.16",
            "tevent-0.9.37",
            "ldb-1.4.0",
            "talloc-2.1.13",
            "talloc-2.1.12",
            "ldb-1.3.2",
            "tevent-0.9.36",
            "samba-4.8.0rc1",
            "ldb-1.3.1",
            "tevent-0.9.35",
            "talloc-2.1.11",
            "tevent-0.9.34",
            "ldb-1.3.0",
            "ldb-1.2.2",
            "tdb-1.3.15",
            "ldb-1.2.1",
            "tevent-0.9.33",
            "talloc-2.1.10",
            "samba-4.7.0rc1",
            "ldb-1.2.0",
            "tdb-1.3.14",
            "tevent-0.9.32",
            "ldb-1.1.31",
            "ldb-1.1.30",
            "tdb-1.3.13",
            "talloc-2.1.9",
            "samba-4.6.0rc1",
            "ldb-1.1.29",
            "tdb-1.3.12",
            "ldb-1.1.28",
            "tevent-0.9.31",
            "tdb-1.3.11",
            "tevent-0.9.30",
            "samba-4.5.0rc1",
            "ldb-1.1.27",
            "tevent-0.9.29",
            "talloc-2.1.8",
            "tdb-1.3.10",
            "talloc-2.1.7",
            "tdb-1.3.9",
            "talloc-2.1.6",
            "tevent-0.9.28",
            "ldb-1.1.26",
            "tevent-0.9.27",
            "samba-4.4.0rc1",
            "ldb-1.1.25",
            "ldb-1.1.23",
            "talloc-2.1.5",
            "tdb-1.3.8",
            "tevent-0.9.26",
            "ldb-1.1.22",
            "talloc-2.1.4",
            "samba-4.3.0rc1",
            "ldb-1.1.21",
            "tdb-1.3.7",
            "talloc-2.1.3",
            "tdb-1.3.6",
            "tevent-0.9.25",
            "tdb-1.3.5",
            "talloc-2.1.2",
            "tevent-0.9.24",
            "tevent-0.9.23",
            "ldb-1.1.20",
            "ldb-1.1.19",
            "tdb-1.3.4",
            "tdb-1.3.3",
            "ldb-1.1.18",
            "tdb-1.3.2",
            "samba-4.2.0rc1",
            "tevent-0.9.22",
            "tdb-1.3.1",
            "tdb-1.3.0",
            "talloc-2.1.1",
            "ldb-1.1.17",
            "tdb-1.2.13",
            "tevent-0.9.21",
            "tevent-0.9.20",
            "talloc-2.1.0",
            "tevent-0.9.19",
            "ldb-1.1.16",
            "tdb-1.2.12",
            "tevent-0.9.18",
            "ldb-1.1.15",
            "ldb-1.1.14",
            "tdb-1.2.11",
            "talloc-2.0.8",
            "samba-4.0.0rc1",
            "ldb-1.1.13",
            "samba-4.0.0beta8",
            "ldb-1.1.12",
            "ldb-1.1.11",
            "samba-4.0.0beta7",
            "tevent-0.9.17",
            "samba-4.0.0beta6",
            "ldb-1.1.10",
            "ldb-1.1.9",
            "samba-4.0.0beta5",
            "samba-4.0.0beta4",
            "ldb-1.1.8",
            "samba-4.0.0beta3",
            "samba-4.0.0beta2",
            "tevent-0.9.16",
            "samba-4.0.0beta1",
            "samba-4.0.0alpha21",
            "samba-4.0.0alpha20",
            "ldb-1.1.6",
            "samba-4.0.0alpha19",
            "ldb-1.1.5",
            "tdb-1.2.10",
            "samba-4.0.0alpha18",
            "tevent-0.9.15",
            "ldb-1.1.4",
            "ldb-1.1.3",
            "talloc-2.0.7",
            "samba-4.0.0alpha17",
            "tevent-0.9.14",
            "ldb-1.1.2",
            "tevent-0.9.13",
            "tevent-0.9.12",
            "ldb-1.1.0",
            "tevent-0.9.11",
            "tdb-1.2.1",
            "samba-4.0.0alpha10",
            "samba-4.0.0alpha9",
            "tdb-1.2.0",
            "tevent-0.9.8",
            "talloc-2.0.0",
            "samba-4.0.0alpha8",
            "talloc-1.3.1",
            "tdb-1.1.5",
            "samba-4.0.0alpha7",
            "samba-4.0.0alpha6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2031.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.014315633Z",
      "provider": "osv",
      "references": [
        "https://www.samba.org/samba/security/CVE-2022-2031.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2031.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-2031",
        "https://security.gentoo.org/glsa/202309-06"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-288"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14"
                  },
                  {
                    "last_affected": "Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2031.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-2031",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 501190,
  "published_at": "2022-08-25T00:00:00+00:00"
}