cve.bz

CVE-2022-2031 samba samba: Improper Authentication

8.8 highEPSS 1.3%

High (8.8) in samba samba. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-287 Improper Authentication
CWE-288 Authentication Bypass Using an Alternate Path or Channel
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-2031 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2031?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2031?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-2031 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambabefore 4.14.14
samba:sambafrom 4.15.0 before 4.15.9
samba:sambafrom 4.16.0 before 4.16.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11samba2:4.13.13+dfsg-1~deb11u5DSA-5205-1
Debian12, 13, 14samba2:4.16.4+dfsg-1DEBIAN-CVE-2022-2031
Ubuntu20.04:LTSsamba2:4.13.17~dfsg-0ubuntu1.20.04.1UBUNTU-CVE-2022-2031 USN-5542-1
Ubuntu22.04:LTSsamba2:4.15.9+dfsg-0ubuntu0.2UBUNTU-CVE-2022-2031 USN-5542-1
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSsambano fix listedUBUNTU-CVE-2022-2031
SUSEEnterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Micro 5.2 and 2 moresamba4.15.12+git.535.7750e5c95ef-150300.3.43.1SUSE-SU-2022:4395-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Micro 5.2 and 2 moresamba4.15.8+git.500.d5910280cc7-150300.3.37.1SUSE-SU-2022:2586-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2 and 1 moreldb2.4.3-150300.3.20.1SUSE-SU-2022:2586-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.15.13+git.482.1ac2c665c7-3.74.1SUSE-SU-2023:0081-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.15.8+git.462.e73f4310487-3.68.1SUSE-SU-2022:2582-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4samba4.15.13+git.591.ab36624310c-150400.3.19.1SUSE-SU-2023:0160-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Module for Basesystem 15 SP4samba4.15.8+git.500.d5910280cc7-150400.3.11.1SUSE-SU-2022:2659-1
SUSELinux Enterprise Module for Basesystem 15 SP4ldb2.4.3-150400.4.8.1SUSE-SU-2022:2659-1
openSUSELeap 15.3ldb2.4.3-150300.3.20.1SUSE-SU-2022:2586-1
openSUSELeap 15.3samba4.15.8+git.500.d5910280cc7-150300.3.37.1SUSE-SU-2022:2586-1
openSUSELeap 15.3, Leap Micro 5.2samba4.15.12+git.535.7750e5c95ef-150300.3.43.1SUSE-SU-2022:4395-1
openSUSELeap 15.4ldb2.4.3-150400.4.8.1SUSE-SU-2022:2659-1
openSUSELeap 15.4samba4.15.8+git.500.d5910280cc7-150400.3.11.1SUSE-SU-2022:2659-1
openSUSELeap 15.4, Leap Micro 5.3samba4.15.13+git.591.ab36624310c-150400.3.19.1SUSE-SU-2023:0160-1
openSUSELeap Micro 5.2ldb2.4.3-150300.3.20.1SUSE-SU-2022:2586-2
openSUSELeap Micro 5.2samba4.15.8+git.500.d5910280cc7-150300.3.37.1SUSE-SU-2022:2586-2
openSUSETumbleweedsamba4.16.4+git.297.1497eb221ed-1.1openSUSE-SU-2024:12243-1
Alpinev3.14samba4.14.14-r0ALPINE-CVE-2022-2031
Alpinev3.15, v3.16samba4.15.12-r0ALPINE-CVE-2022-2031
Alpinev3.17, v3.18, v3.19 and 5 moresamba4.15.9-r0ALPINE-CVE-2022-2031
Azure Linux2sambano fix listedAZL-10735
Azure Linux3samba4.18.3-1AZL-37011

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat products are not affected by this flaw, as Samba is built with MIT Kerberos instead of Heimdal Kerberos.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Enterprise Linux 9sambaNot affected
Red Hat Storage 3sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-2031.

Attack patterns (CAPEC)

  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium
  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High
  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-287.

References

Check your stackJSON