CVE-2022-30550 Privilege escalation in n/a

High 8.8 Published Updated

Incorrect application of username_filter settings in Dovecot passdb configurations can allow privilege escalation when duplicate driver entries exist.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-30550?

CVE-2022-30550 is a high-severity vulnerability in Debian Debian Linux, published on 17 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-287

Which versions are affected by CVE-2022-30550?

It affects 2 products.

Linux distribution packages (40)
dovecot AlmaLinux:8All versions1:2.3.16-3.el8
dovecot-devel AlmaLinux:8All versions1:2.3.16-3.el8
dovecot-mysql AlmaLinux:8All versions1:2.3.16-3.el8
dovecot-pgsql AlmaLinux:8All versions1:2.3.16-3.el8
dovecot-pigeonhole AlmaLinux:8All versions1:2.3.16-3.el8
dovecot AlmaLinux:9All versions1:2.3.16-7.el9
dovecot-devel AlmaLinux:9All versions1:2.3.16-7.el9
dovecot-mysql AlmaLinux:9All versions1:2.3.16-7.el9
dovecot-pgsql AlmaLinux:9All versions1:2.3.16-7.el9
dovecot-pigeonhole AlmaLinux:9All versions1:2.3.16-7.el9
dovecot Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot-debugsource Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot-mysql Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot-mysql-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot-pgsql Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot-pgsql-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot-pigeonhole Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot-pigeonhole-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions1:2.3.16-3.el8
dovecot Red Hat:enterprise_linux:8::crbAll versions1:2.3.16-3.el8
dovecot-debuginfo Red Hat:enterprise_linux:8::crbAll versions1:2.3.16-3.el8
dovecot-debugsource Red Hat:enterprise_linux:8::crbAll versions1:2.3.16-3.el8
dovecot-devel Red Hat:enterprise_linux:8::crbAll versions1:2.3.16-3.el8
dovecot-mysql-debuginfo Red Hat:enterprise_linux:8::crbAll versions1:2.3.16-3.el8
dovecot-pgsql-debuginfo Red Hat:enterprise_linux:8::crbAll versions1:2.3.16-3.el8
dovecot-pigeonhole-debuginfo Red Hat:enterprise_linux:8::crbAll versions1:2.3.16-3.el8
dovecot Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot-debugsource Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot-mysql Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot-mysql-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot-pgsql Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot-pgsql-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot-pigeonhole Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot-pigeonhole-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.16-7.el9
dovecot Red Hat:enterprise_linux:9::crbAll versions1:2.3.16-7.el9
dovecot-debuginfo Red Hat:enterprise_linux:9::crbAll versions1:2.3.16-7.el9
dovecot-debugsource Red Hat:enterprise_linux:9::crbAll versions1:2.3.16-7.el9
dovecot-devel Red Hat:enterprise_linux:9::crbAll versions1:2.3.16-7.el9
dovecot-mysql-debuginfo Red Hat:enterprise_linux:9::crbAll versions1:2.3.16-7.el9

Products include Debian Debian Linux, Dovecot Dovecot.

How do I fix CVE-2022-30550?

Upgrade to a fixed version.

Is CVE-2022-30550 being exploited?

There is no known exploitation of CVE-2022-30550 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-30550, ALSA-2022:7623, ALSA-2022:8208, AZL-10311, AZL-44649, CLSA-2022-1659635856 and 15 more.

Is CVE-2022-30550 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free