Skip to content
Fencer Vulns
high 8.8

CVE-2022-30550 json

An issue was discovered in the auth component in Dovecot 2.2 and 2.3 before 2.3.20.

published 2022-07-17 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-52409

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

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.

Patch / fix

  • dovecot dovecot 2.4.0
  • dovecot Debian 14, Debian 13, Debian 12 1:2.3.19.1+dfsg1-2

debian advisories DEBIAN-CVE-2022-30550

  • dovecot Ubuntu 18.04 LTS 1:2.2.33.2-1ubuntu4.8
  • dovecot Ubuntu 20.04 LTS 1:2.3.7.2-1ubuntu3.6
  • dovecot Ubuntu 22.04 LTS 1:2.3.16+dfsg1-3ubuntu2.1

ubuntu advisories UBUNTU-CVE-2022-30550

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • dovecot RHEL 9 1:2.3.16-7.el9
  • dovecot-mysql RHEL 9 1:2.3.16-7.el9
  • dovecot-pgsql RHEL 9 1:2.3.16-7.el9
  • dovecot-pigeonhole RHEL 9 1:2.3.16-7.el9
  • dovecot RHEL 8 1:2.3.16-3.el8
  • dovecot-mysql RHEL 8 1:2.3.16-3.el8
  • dovecot-pgsql RHEL 8 1:2.3.16-3.el8
  • dovecot-pigeonhole RHEL 8 1:2.3.16-3.el8

red hat advisories RHSA-2022:8208RHSA-2022:7623

  • dovecot22 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 2.2.31-19.29.1
  • dovecot23 SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +10 more 2.3.15-150200.62.1
  • dovecot23 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 2.3.15-150100.31.1
  • dovecot23 SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 2.3.15-150000.4.42.1

suse advisories SUSE-SU-2022:2618-1SUSE-SU-2022:2448-1SUSE-SU-2022:2432-1SUSE-SU-2022:2431-1

  • dovecot AlmaLinux 9 1:2.3.16-7.el9
  • dovecot-mysql AlmaLinux 9 1:2.3.16-7.el9
  • dovecot-pgsql AlmaLinux 9 1:2.3.16-7.el9
  • dovecot-pigeonhole AlmaLinux 9 1:2.3.16-7.el9
  • dovecot AlmaLinux 8 1:2.3.16-3.el8
  • dovecot-mysql AlmaLinux 8 1:2.3.16-3.el8
  • dovecot-pgsql AlmaLinux 8 1:2.3.16-3.el8
  • dovecot-pigeonhole AlmaLinux 8 1:2.3.16-3.el8

almalinux advisories ALSA-2022:8208ALSA-2022:7623

  • dovecot Rocky Linux 9 1:2.3.16-7.el9
  • dovecot Rocky Linux 8 1:2.3.16-3.el8

rocky linux advisories RLSA-2022:8208RLSA-2022:7623

  • dovecot Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 2.3.19.1-r5

alpine advisories ALPINE-CVE-2022-30550

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • dovecot CBL-Mariner 2.0 2.3.20-1

azure linux advisories AZL-10311

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • dovecot Arch Linux 2.3.20-1

arch linux advisories AVG-2777

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-30550 updated cvss 6.8

dovecot: Privilege escalation when similar master and non-master passdbs are used

  • Red Hat Enterprise Linux 7 dovecot, dovecot-mysql, dovecot-pgsql, dovecot-pigeonhole
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder (v. 8) dovecot 2.3.16-3.el8
    fixed: vendor fix RHSA-2022:7623
  • Red Hat CodeReady Linux Builder (v. 9) dovecot 2.3.16-7.el9
    fixed: vendor fix RHSA-2022:8208
  • Red Hat Enterprise Linux AppStream (v. 8) dovecot 2.3.16-3.el8, dovecot-mysql 2.3.16-3.el8, dovecot-pgsql 2.3.16-3.el8, dovecot-pigeonhole 2.3.16-3.el8
    fixed: vendor fix RHSA-2022:7623
  • Red Hat Enterprise Linux AppStream (v. 9) dovecot 2.3.16-7.el9, dovecot-mysql 2.3.16-7.el9, dovecot-pgsql 2.3.16-7.el9, dovecot-pigeonhole 2.3.16-7.el9
    fixed: vendor fix RHSA-2022:8208
  • Red Hat Enterprise Linux 6 dovecot, dovecot-mysql, dovecot-pgsql, dovecot-pigeonhole
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

2.29% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.