Skip to content
Heist/ feed
Back to feed
HighFix available

dovecot — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-30550

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.

Products
dovecot
Affected versions
Not specified
Fixed versions
1:2.3.19.1+dfsg1-2
CVEs
CVE-2022-30550
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:44 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-30550

core-osv · Original source

Published 17 Jul 2022, 19:15 UTC

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.

osv:DEBIAN-CVE-2022-30550

dovecot

Fixed versions: 1:2.3.19.1+dfsg1-2

dovecot

Fixed versions: 1:2.3.19.1+dfsg1-2

dovecot

Fixed versions: 1:2.3.19.1+dfsg1-2

Complete source record
{
  "id": "7548cb01f6be6468d174e2cbed04a28897b1f84cc95312efd2a6eb88fc8786d6",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-30550",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-30550",
    "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.",
    "evidence": "osv:DEBIAN-CVE-2022-30550",
    "products": [
      {
        "name": {
          "value": "dovecot",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:2.3.19.1+dfsg1-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "dovecot",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:2.3.19.1+dfsg1-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "dovecot",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:2.3.19.1+dfsg1-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-30550",
      "aliases": [
        "DEBIAN-CVE-2022-30550"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:2.3.19.1+dfsg1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "dovecot",
            "purl": "pkg:deb/debian/dovecot?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-30550.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:2.3.19.1+dfsg1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "dovecot",
            "purl": "pkg:deb/debian/dovecot?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-30550.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:2.3.19.1+dfsg1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "dovecot",
            "purl": "pkg:deb/debian/dovecot?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-30550.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:01:50.447446097Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-30550"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-30550"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-30550",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323169,
  "published_at": "2022-07-17T19:15:18.54+00:00"
}