cve.bz

CVE-2022-30550 Improper Authentication

8.8 highEPSS 2.3%Fix available

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

On this page
An issue was discovered in the auth component in Dovecot 2.2 and 2.3 before 2.3.20. When two passdb configuration entries exist with the same driver and args settings, incorrect username_filter and mechanism settings can be applied to passdb definitions. These incorrectly applied settings can lead to an unintended security configuration and can permit privilege escalation in certain configurations. The documentation does not advise against the use of passdb definitions that have the same driver and args settings. One such configuration would be where an administrator wishes to use the same PAM configuration or passwd file for both normal and master users but use the username_filter setting to restrict which of the users is able to be a master user.

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
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-30550 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-30550?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-30550?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-30550 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
dovecot:dovecotfrom 2.3 before 2.4.0
dovecot:dovecot2.2
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10dovecot1:2.3.4.1-5+deb10u7DLA-3122-1
Debian12, 13, 14dovecot1:2.3.19.1+dfsg1-2DEBIAN-CVE-2022-30550
Ubuntu16.04:LTS, Pro:14.04:LTSdovecotno fix listedUBUNTU-CVE-2022-30550
Ubuntu18.04:LTSdovecot1:2.2.33.2-1ubuntu4.8UBUNTU-CVE-2022-30550 USN-5509-1
Ubuntu20.04:LTSdovecot1:2.3.7.2-1ubuntu3.6UBUNTU-CVE-2022-30550 USN-5509-1
Ubuntu22.04:LTSdovecot1:2.3.16+dfsg1-3ubuntu2.1UBUNTU-CVE-2022-30550 USN-5509-1
Red Hatenterprise_linux:8::appstreamdovecot, dovecot-mysql, dovecot-pgsql and 6 more1:2.3.16-3.el8RHSA-2022:7623
Red Hatenterprise_linux:8::crbdovecot, dovecot-devel, dovecot-debuginfo and 4 more1:2.3.16-3.el8RHSA-2022:7623
Red Hatenterprise_linux:9::appstreamdovecot, dovecot-mysql, dovecot-pgsql and 6 more1:2.3.16-7.el9RHSA-2022:8208
Red Hatenterprise_linux:9::crbdovecot, dovecot-devel, dovecot-debuginfo and 4 more1:2.3.16-7.el9RHSA-2022:8208
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 moredovecot232.3.15-150100.31.1SUSE-SU-2022:2432-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 moredovecot232.3.15-150200.62.1SUSE-SU-2022:2448-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moredovecot232.3.15-150000.4.42.1SUSE-SU-2022:2431-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 moredovecot222.2.31-19.29.1SUSE-SU-2022:2618-1
openSUSELeap 15.3, Leap 15.4dovecot232.3.15-150200.62.1SUSE-SU-2022:2448-1
AlmaLinux8dovecot, dovecot-devel, dovecot-mysql and 2 more1:2.3.16-3.el8ALSA-2022:7623
AlmaLinux9dovecot, dovecot-devel, dovecot-mysql and 2 more1:2.3.16-7.el9ALSA-2022:8208
Rocky Linux8dovecot1:2.3.16-3.el8RLSA-2022:7623
Rocky Linux9dovecot1:2.3.16-7.el9RLSA-2022:8208
Alpinev3.17, v3.18, v3.19 and 5 moredovecot2.3.19.1-r5ALPINE-CVE-2022-30550
Azure Linux2dovecot2.3.20-1AZL-10311
Azure Linux3dovecotno fix listedAZL-44649

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; 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 · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Always authenticate master users from a different source than regular users, for example, use a separate passwd file. Alternatively, you can use global ACLs to ensure that only legitimate master users have privileged access.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8dovecot-1:2.3.16-3.el8Fixed 2022-11-08RHSA-2022:7623
Red Hat Enterprise Linux 9dovecot-1:2.3.16-7.el9Fixed 2022-11-15RHSA-2022:8208
Red Hat Enterprise Linux 6dovecotNot affected
Red Hat Enterprise Linux 7dovecotOut of support scope

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-30550.

Attack patterns (CAPEC)

  • 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
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON