CVE-2022-30550: An issue was discovered in the auth component in Dovecot 2.2 and 2.3 before 2.3.20.
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.2% (FIRST EPSS); higher than 83.1% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: dovecot (AlmaLinux:8) 1:2.3.16-3.el8; dovecot-devel (AlmaLinux:8) 1:2.3.16-3.el8; dovecot-mysql (AlmaLinux:8) 1:2.3.16-3.el8.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to dovecot (AlmaLinux:8) 1:2.3.16-3.el8; dovecot-devel (AlmaLinux:8) 1:2.3.16-3.el8; dovecot-mysql (AlmaLinux:8) 1:2.3.16-3.el8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 17, 2022
- Updated
- Jun 17, 2026
- EPSS
- 2.2% · 83th percentile
- CWE
- CWE-287
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| dovecot | dovecot | cpe:2.3:a:dovecot:dovecot |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using dovecot? Add it to your stack and be the first to know about CVEs like this one. (Email server)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- dovecot dovecot2.3 and later · before 2.4.0
- dovecot dovecot2.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | dovecot | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| AlmaLinux:8 | dovecot-devel | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| AlmaLinux:8 | dovecot-mysql | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| AlmaLinux:8 | dovecot-pgsql | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| AlmaLinux:8 | dovecot-pigeonhole | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| AlmaLinux:9 | dovecot | before 1:2.3.16-7.el9 | 1:2.3.16-7.el9 |
| AlmaLinux:9 | dovecot-devel | before 1:2.3.16-7.el9 | 1:2.3.16-7.el9 |
| AlmaLinux:9 | dovecot-mysql | before 1:2.3.16-7.el9 | 1:2.3.16-7.el9 |
| AlmaLinux:9 | dovecot-pgsql | before 1:2.3.16-7.el9 | 1:2.3.16-7.el9 |
| AlmaLinux:9 | dovecot-pigeonhole | before 1:2.3.16-7.el9 | 1:2.3.16-7.el9 |
| Alpine:v3.17 | dovecot | from 2.3 · before 2.3.19.1-r5 | 2.3.19.1-r5 |
| Debian:10 | dovecot | before 1:2.3.4.1-5+deb10u7 | 1:2.3.4.1-5+deb10u7 |
| Debian:12 | dovecot | before 1:2.3.19.1+dfsg1-2 | 1:2.3.19.1+dfsg1-2 |
| openSUSE:Leap 15.3 | dovecot23 | before 2.3.15-150200.62.1 | 2.3.15-150200.62.1 |
| Red Hat:enterprise_linux:8::appstream | dovecot | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::appstream | dovecot-debuginfo | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::appstream | dovecot-debugsource | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::appstream | dovecot-mysql | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::appstream | dovecot-mysql-debuginfo | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::appstream | dovecot-pgsql | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::appstream | dovecot-pgsql-debuginfo | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::appstream | dovecot-pigeonhole | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::appstream | dovecot-pigeonhole-debuginfo | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
| Red Hat:enterprise_linux:8::crb | dovecot-devel | before 1:2.3.16-3.el8 | 1:2.3.16-3.el8 |
+16
Same product
dovecot: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-11500In Dovecot before 2.2.36.4 and 2.3.x before 2.3.7.2 (and Pigeonhole before 0.5.7.2), protocol processing can fail for quoted strings.58Plan
- CVE-2020-7046lib-smtp in submission-login and lmtp in Dovecot 2.3.9 before 2.3.9.3 mishandles truncated UTF-8 data in command parameters, as demonstrated45Plan
- CVE-2016-8652The auth component in Dovecot before 2.2.27, when auth-policy is configured, allows a remote attackers to cause a denial of service (crash) 37Monitor
Published before and after this one in the same product
- ← EarlierCVE-2020-28200Jun 28, 2021 · The Sieve engine in Dovecot before 2.3.15 allows Uncontrolled Resource Consumption, as demonstrated by a situation with a complex regular ex18Monitor
- ← EarlierCVE-2021-33515Jun 28, 2021 · The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp.20Monitor
- Later →CVE-2025-59028Mar 27, 2026 · When sending invalid base64 SASL data, login process is disconnected from the auth server, causing all active authentication sessions to fai30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:dovecot | 1:2.3.16-3.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:dovecot-devel | 1:2.3.16-3.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:dovecot-mysql | 1:2.3.16-3.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:dovecot-pgsql | 1:2.3.16-3.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:dovecot-pigeonhole | 1:2.3.16-3.el8 · AlmaLinux:8 | Package registry (OSV) |
| alpine:dovecot | 2.3.19.1-r5 · Alpine:v3.17 | Package registry (OSV) |
| debian:dovecot | 1:2.3.19.1+dfsg1-2 · Debian:12 | Package registry (OSV) |
| opensuse:dovecot23 | 2.3.15-150200.62.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:dovecot | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:dovecot-debuginfo | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:dovecot-debugsource | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:dovecot-devel | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::crb | Package registry (OSV) |
| red hat:dovecot-mysql | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:dovecot-mysql-debuginfo | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:dovecot-pgsql | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:dovecot-pgsql-debuginfo | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:dovecot-pigeonhole | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:dovecot-pigeonhole-debuginfo | 1:2.3.16-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:dovecot | 1:2.3.16-3.el8 · Rocky Linux:8 | Package registry (OSV) |
| suse:dovecot22 | 2.2.31-19.29.1 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
| suse:dovecot23 | 2.3.15-150000.4.42.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOS | Package registry (OSV) |
| suse:dovecot23 | 2.3.15-150200.62.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0643 · Sep 27, 2022(Debian Güvenlik Güncellemesi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-287 · Improper AuthenticationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
Authentication is added route by route instead of being enforced in one place. When a route added later bypasses the shared middleware, the session check never runs for it.
The bug in code
The whole CWE-287 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
app.use("/admin", requireSession, adminRouter);
// Route added later skips the middleware
app.post("/admin-api/config", updateConfig);Fixed
const admin = express.Router();
admin.use(requireSession, requireRole("admin"));
admin.post("/config", updateConfig);
app.use("/admin", admin);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Authentication AbuseCAPEC-114Medium
- Authentication BypassCAPEC-115Medium
- Identity SpoofingCAPEC-151likelihood: Medium · Medium
- Fake the Source of DataCAPEC-194Medium
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- Utilizing REST's Trust in the System Resource to Obtain Sensitive DataCAPEC-57likelihood: Medium · Very High
- Session HijackingCAPEC-593likelihood: High · Very High
- Token ImpersonationCAPEC-633Medium
ATT&CK techniques
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.