CVE-2022-30550

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-30550
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-30550.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-30550
Related
Published
2022-07-17T19:15:18Z
Modified
2024-12-05T15:34:00.163546Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 usernamefilter 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 usernamefilter setting to restrict which of the users is able to be a master user.

References

Affected packages

Alpine:v3.17 / dovecot

Package

Name
dovecot
Purl
pkg:apk/alpine/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.19.1-r5

Affected versions

1.*

1.1.11-r0
1.1.11-r1
1.1.13-r0
1.1.14-r0
1.1.14-r1
1.1.15-r0
1.1.16-r0
1.2.1-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1
1.2.5-r0
1.2.6-r0
1.2.6-r1
1.2.7-r0
1.2.8-r0
1.2.9-r0
1.2.10-r0
1.2.11-r0
1.2.11-r1
1.2.11-r2
1.2.11-r3
1.2.11-r4
1.2.11-r5
1.2.12-r0
1.2.12-r1
1.2.12-r2
1.2.12-r3
1.2.13-r0
1.2.13-r1

2.*

2.0.1-r0
2.0.2-r0
2.0.2-r1
2.0.4-r0
2.0.5-r0
2.0.6-r0
2.0.7-r0
2.0.8-r0
2.0.9-r0
2.0.9-r1
2.0.10-r0
2.0.11-r0
2.0.11-r1
2.0.12-r0
2.0.12-r1
2.0.12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3-r0
2.3.11.3-r1
2.3.13-r0
2.3.14-r0
2.3.15-r0
2.3.16-r0
2.3.16-r1
2.3.16-r2
2.3.17-r0
2.3.17-r1
2.3.17-r2
2.3.17.1-r2
2.3.18-r1
2.3.18-r2
2.3.19-r2
2.3.19.1-r0
2.3.19.1-r1
2.3.19.1-r2
2.3.19.1-r3
2.3.19.1-r4

Alpine:v3.18 / dovecot

Package

Name
dovecot
Purl
pkg:apk/alpine/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.19.1-r5

Affected versions

1.*

1.1.11-r0
1.1.11-r1
1.1.13-r0
1.1.14-r0
1.1.14-r1
1.1.15-r0
1.1.16-r0
1.2.1-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1
1.2.5-r0
1.2.6-r0
1.2.6-r1
1.2.7-r0
1.2.8-r0
1.2.9-r0
1.2.10-r0
1.2.11-r0
1.2.11-r1
1.2.11-r2
1.2.11-r3
1.2.11-r4
1.2.11-r5
1.2.12-r0
1.2.12-r1
1.2.12-r2
1.2.12-r3
1.2.13-r0
1.2.13-r1

2.*

2.0.1-r0
2.0.2-r0
2.0.2-r1
2.0.4-r0
2.0.5-r0
2.0.6-r0
2.0.7-r0
2.0.8-r0
2.0.9-r0
2.0.9-r1
2.0.10-r0
2.0.11-r0
2.0.11-r1
2.0.12-r0
2.0.12-r1
2.0.12-r2
2.0.13-r0
2.0.13-r1
2.0.14-r0
2.0.14-r1
2.0.15-r0
2.0.16-r0
2.0.17-r0
2.0.17-r1
2.0.17-r2
2.0.18-r0
2.1.0-r0
2.1.1-r0
2.1.2-r0
2.1.3-r0
2.1.4-r0
2.1.5-r0
2.1.6-r0
2.1.6-r1
2.1.7-r0
2.1.8-r0
2.1.9-r0
2.1.9-r1
2.1.10-r0
2.1.10-r1
2.1.12-r0
2.1.13-r0
2.1.14-r0
2.1.15-r0
2.1.16-r0
2.2.1-r0
2.2.2-r0
2.2.2-r1
2.2.3-r0
2.2.4-r0
2.2.5-r0
2.2.5-r1
2.2.5-r2
2.2.6-r0
2.2.7-r0
2.2.8-r0
2.2.9-r0
2.2.10-r0
2.2.11-r0
2.2.12-r0
2.2.13-r0
2.2.14-r0
2.2.15-r0
2.2.15-r1
2.2.15-r2
2.2.16-r0
2.2.16-r1
2.2.18-r0
2.2.18-r1
2.2.19-r0
2.2.19-r1
2.2.19-r2
2.2.20-r0
2.2.20-r1
2.2.21-r0
2.2.22-r0
2.2.22-r1
2.2.23-r0
2.2.23-r1
2.2.24-r0
2.2.24-r1
2.2.25-r0
2.2.25-r1
2.2.25-r2
2.2.26.0-r0
2.2.27-r0
2.2.27-r1
2.2.27-r2
2.2.29.1-r0
2.2.32-r0
2.2.33.2-r0
2.2.33.2-r1
2.2.33.2-r2
2.2.33.2-r3
2.2.33.2-r4
2.2.34-r0
2.2.34-r1
2.2.34-r2
2.2.34-r3
2.3.1-r0
2.3.1-r1
2.3.2.1-r0
2.3.2.1-r1
2.3.2.1-r2
2.3.2.1-r3
2.3.2.1-r4
2.3.3-r0
2.3.3-r1
2.3.3-r2
2.3.4.1-r0
2.3.4.1-r1
2.3.5.1-r0
2.3.5.1-r1
2.3.6-r0
2.3.6-r1
2.3.7-r0
2.3.7.1-r0
2.3.7.2-r0
2.3.8-r0
2.3.9-r0
2.3.9.2-r0
2.3.9.3-r0
2.3.10-r0
2.3.10.1-r0
2.3.11.3-r0
2.3.11.3-r1
2.3.13-r0
2.3.14-r0
2.3.15-r0
2.3.16-r0
2.3.16-r1
2.3.16-r2
2.3.17-r0
2.3.17-r1
2.3.17-r2
2.3.17.1-r2
2.3.18-r1
2.3.18-r2
2.3.19-r2
2.3.19.1-r0
2.3.19.1-r1
2.3.19.1-r2
2.3.19.1-r3
2.3.19.1-r4

Alpine:v3.19 / dovecot

Package

Name
dovecot
Purl
pkg:apk/alpine/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2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.2.25-r0
2.2.25-r1
2.2.25-r2
2.2.26.0-r0
2.2.27-r0
2.2.27-r1
2.2.27-r2
2.2.29.1-r0
2.2.32-r0
2.2.33.2-r0
2.2.33.2-r1
2.2.33.2-r2
2.2.33.2-r3
2.2.33.2-r4
2.2.34-r0
2.2.34-r1
2.2.34-r2
2.2.34-r3
2.3.1-r0
2.3.1-r1
2.3.2.1-r0
2.3.2.1-r1
2.3.2.1-r2
2.3.2.1-r3
2.3.2.1-r4
2.3.3-r0
2.3.3-r1
2.3.3-r2
2.3.4.1-r0
2.3.4.1-r1
2.3.5.1-r0
2.3.5.1-r1
2.3.6-r0
2.3.6-r1
2.3.7-r0
2.3.7.1-r0
2.3.7.2-r0
2.3.8-r0
2.3.9-r0
2.3.9.2-r0
2.3.9.3-r0
2.3.10-r0
2.3.10.1-r0
2.3.11.3-r0
2.3.11.3-r1
2.3.13-r0
2.3.14-r0
2.3.15-r0
2.3.16-r0
2.3.16-r1
2.3.16-r2
2.3.17-r0
2.3.17-r1
2.3.17-r2
2.3.17.1-r2
2.3.18-r1
2.3.18-r2
2.3.19-r2
2.3.19.1-r0
2.3.19.1-r1
2.3.19.1-r2
2.3.19.1-r3
2.3.19.1-r4

Alpine:v3.20 / dovecot

Package

Name
dovecot
Purl
pkg:apk/alpine/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.19.1-r5

Affected versions

1.*

1.1.11-r0
1.1.11-r1
1.1.13-r0
1.1.14-r0
1.1.14-r1
1.1.15-r0
1.1.16-r0
1.2.1-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1
1.2.5-r0
1.2.6-r0
1.2.6-r1
1.2.7-r0
1.2.8-r0
1.2.9-r0
1.2.10-r0
1.2.11-r0
1.2.11-r1
1.2.11-r2
1.2.11-r3
1.2.11-r4
1.2.11-r5
1.2.12-r0
1.2.12-r1
1.2.12-r2
1.2.12-r3
1.2.13-r0
1.2.13-r1

2.*

2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1
2.3.5.1-r0
2.3.5.1-r1
2.3.6-r0
2.3.6-r1
2.3.7-r0
2.3.7.1-r0
2.3.7.2-r0
2.3.8-r0
2.3.9-r0
2.3.9.2-r0
2.3.9.3-r0
2.3.10-r0
2.3.10.1-r0
2.3.11.3-r0
2.3.11.3-r1
2.3.13-r0
2.3.14-r0
2.3.15-r0
2.3.16-r0
2.3.16-r1
2.3.16-r2
2.3.17-r0
2.3.17-r1
2.3.17-r2
2.3.17.1-r2
2.3.18-r1
2.3.18-r2
2.3.19-r2
2.3.19.1-r0
2.3.19.1-r1
2.3.19.1-r2
2.3.19.1-r3
2.3.19.1-r4

Alpine:v3.21 / dovecot

Package

Name
dovecot
Purl
pkg:apk/alpine/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.19.1-r5

Affected versions

1.*

1.1.11-r0
1.1.11-r1
1.1.13-r0
1.1.14-r0
1.1.14-r1
1.1.15-r0
1.1.16-r0
1.2.1-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1
1.2.5-r0
1.2.6-r0
1.2.6-r1
1.2.7-r0
1.2.8-r0
1.2.9-r0
1.2.10-r0
1.2.11-r0
1.2.11-r1
1.2.11-r2
1.2.11-r3
1.2.11-r4
1.2.11-r5
1.2.12-r0
1.2.12-r1
1.2.12-r2
1.2.12-r3
1.2.13-r0
1.2.13-r1

2.*

2.0.1-r0
2.0.2-r0
2.0.2-r1
2.0.4-r0
2.0.5-r0
2.0.6-r0
2.0.7-r0
2.0.8-r0
2.0.9-r0
2.0.9-r1
2.0.10-r0
2.0.11-r0
2.0.11-r1
2.0.12-r0
2.0.12-r1
2.0.12-r2
2.0.13-r0
2.0.13-r1
2.0.14-r0
2.0.14-r1
2.0.15-r0
2.0.16-r0
2.0.17-r0
2.0.17-r1
2.0.17-r2
2.0.18-r0
2.1.0-r0
2.1.1-r0
2.1.2-r0
2.1.3-r0
2.1.4-r0
2.1.5-r0
2.1.6-r0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
2.3.19.1-r2
2.3.19.1-r3
2.3.19.1-r4

Debian:11 / dovecot

Package

Name
dovecot
Purl
pkg:deb/debian/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.13+dfsg1-2+deb11u1

Affected versions

1:2.*

1:2.3.13+dfsg1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / dovecot

Package

Name
dovecot
Purl
pkg:deb/debian/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.19.1+dfsg1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / dovecot

Package

Name
dovecot
Purl
pkg:deb/debian/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.19.1+dfsg1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/dovecot/core

Affected ranges

Type
GIT
Repo
https://github.com/dovecot/core
Events