Every CVE Search/ Get API key

CVE-2021-33515

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp....

4.8 MediumFix available

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

2.85%Up 2.2 points since Jun 29, 2021
90%50%10%1%

What each source reports

NVD Score used 4.8

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
CVE-2021-33515
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:N
Weakness
CWE-77
Updated
2026-11-02
CVE List No score

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
CVE-2021-33515
Updated
2026-11-02
EUVDEUVD-2021-20207 No score

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
EUVD-2021-20207
Updated
2026-11-03
GitHub AdvisoriesGHSA-pwmq-cvcm-r5p2 4.8

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp....

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
GHSA-pwmq-cvcm-r5p2
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-77
Updated
2026-11-02
OSVALPINE-CVE-2021-33515 4.8

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
ALPINE-CVE-2021-33515
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVAZL-7196 4.8

CVE-2021-33515 affecting package dovecot for versions less than 2.3.20-1

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
AZL-7196
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
Show 18 moreShow less
OSV 4.8

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
CVE-2021-33515
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2021-33515 4.8

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
DEBIAN-CVE-2021-33515
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVOESA-2021-1270 6.1

dovecot security update

Dovecot is an IMAP server for Linux/UNIX-like systemsa wrapper package that will just handle common things for all versioned dovecot packages.

Security Fix(es):

The Sieve engine in Dovecot before 2.3.15 allows Uncontrolled Resource Consumption, as demonstrated by a situation with a complex regular expression for the regex extension.(CVE-2020-28200)

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.(CVE-2021-33515)

Record
OESA-2021-1270
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2022:1950 4.2

Red Hat Security Advisory: dovecot security update

Record
RHSA-2022:1950
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVRLSA-2022:1950 4.2

Moderate: dovecot security update

Dovecot is an IMAP server for Linux and other UNIX-like systems, written primarily with security in mind. It also contains a small POP3 server, and supports e-mail in either the maildir or mbox format. The SQL drivers and authentication plug-ins are provided as subpackages.

The following packages have been upgraded to a later upstream version: dovecot (2.3.16). (BZ#1980014)

Security Fix(es):

  • dovecot: plaintext commands injection (CVE-2021-33515)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.6 Release Notes linked from the References section.

Record
RLSA-2022:1950
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2021-33515 4.8

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address.

Record
UBUNTU-CVE-2021-33515
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVALSA-2022:1950 No score

Moderate: dovecot security update

Dovecot is an IMAP server for Linux and other UNIX-like systems, written primarily with security in mind. It also contains a small POP3 server, and supports e-mail in either the maildir or mbox format. The SQL drivers and authentication plug-ins are provided as subpackages.

The following packages have been upgraded to a later upstream version: dovecot (2.3.16). (BZ#1980014)

Security Fix(es):

  • dovecot: plaintext commands injection (CVE-2021-33515)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2022:1950
Updated
2026-11-02
OSVCLSA-2022-1653506138 No score

Fixed CVE-2021-33515 in dovecot

  • CVE-2021-33515: fix possible command injection by stopping reading commands when input was locked by the STARTTLS command
Record
CLSA-2022-1653506138
Updated
2026-11-02
OSVCLSA-2022-1653506545 No score

Fixed CVE-2021-33515 in dovecot

  • CVE-2021-33515: fix possible command injection by stopping reading commands when input was locked by the STARTTLS command
Record
CLSA-2022-1653506545
Updated
2026-11-02
OSVMGASA-2021-0557 No score

Updated dovecot packages fix security vulnerabilities

Updated dovecot packages fix security vulnerabilities:

The Sieve engine in Dovecot before 2.3.15 allows Uncontrolled Resource Consumption, as demonstrated by a situation with a complex regular expression for the regex extension (CVE-2020-28200).

Dovecot before 2.3.15 allows ../ Path Traversal. An attacker with access to the local filesystem can trick OAuth2 authentication into using an HS256 validation key from an attacker-controlled location. This occurs during use of local JWT validation with the posix fs driver (CVE-2021-29157).

The submission service in Dovecot before 2.3.15 allows STARTTLS command injection in lib-smtp. Sensitive information can be redirected to an attacker-controlled address (CVE-2021-33515).

Record
MGASA-2021-0557
Updated
2026-11-02
OSVopenSUSE-SU-2021:0920-1 No score

Security update for dovecot23

This update for dovecot23 fixes the following issues:

  • CVE-2021-29157: Local attacker can login as any user and access their emails (bsc#1187418)
  • CVE-2021-33515: Attacker can potentially steal user credentials and mails (bsc#1187419)
Record
openSUSE-SU-2021:0920-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:2123-1 No score

Security update for dovecot23

This update for dovecot23 fixes the following issues:

  • CVE-2021-29157: Local attacker can login as any user and access their emails (bsc#1187418)
  • CVE-2021-33515: Attacker can potentially steal user credentials and mails (bsc#1187419)
Record
openSUSE-SU-2021:2123-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10726-1 No score

dovecot23-2.3.16-1.6 on GA media

These are all security issues fixed in the dovecot23-2.3.16-1.6 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10726-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:14715-1 No score

dovecot24-2.4.0-1.1 on GA media

These are all security issues fixed in the dovecot24-2.4.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:14715-1
Updated
2026-11-02
OSVSUSE-SU-2021:2122-1 No score

Security update for dovecot23

This update for dovecot23 fixes the following issues:

  • CVE-2021-29157: Local attacker can login as any user and access their emails (bsc#1187418)
  • CVE-2021-33515: Attacker can potentially steal user credentials and mails (bsc#1187419)
Record
SUSE-SU-2021:2122-1
Updated
2026-11-02
OSVSUSE-SU-2021:2123-1 No score

Security update for dovecot23

This update for dovecot23 fixes the following issues:

  • CVE-2021-29157: Local attacker can login as any user and access their emails (bsc#1187418)
  • CVE-2021-33515: Attacker can potentially steal user credentials and mails (bsc#1187419)
Record
SUSE-SU-2021:2123-1
Updated
2026-11-02
OSVSUSE-SU-2021:2124-1 No score

Security update for dovecot23

This update for dovecot23 fixes the following issues:

  • CVE-2021-29157: Local attacker can login as any user and access their emails (bsc#1187418)
  • CVE-2021-33515: Attacker can potentially steal user credentials and mails (bsc#1187419)
Record
SUSE-SU-2021:2124-1
Updated
2026-11-02
OSVUSN-4993-1 No score

dovecot vulnerabilities

Kirin discovered that Dovecot incorrectly escaped kid and azp fields in JWT tokens. A local attacker could possibly use this issue to validate tokens using arbitrary keys. This issue only affected Ubuntu 20.10 and Ubuntu 21.04. (CVE-2021-29157)

Fabian Ising and Damian Poddebniak discovered that Dovecot incorrectly handled STARTTLS when using the SMTP submission service. A remote attacker could possibly use this issue to inject plaintext commands before STARTTLS negotiation. (CVE-2021-33515)

Record
USN-4993-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dovecot
Alpine:v3.11
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.12
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.13
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.14
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.15
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.16
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.17
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.18
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.19
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.20
before 2.3.15-r0
2.3.15-r0
Show 63 moreShow less
Affected packages
PackageAffectedFixed
dovecot
Alpine:v3.21
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.22
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.23
before 2.3.15-r0
2.3.15-r0
dovecot
Alpine:v3.24
before 2.3.15-r0
2.3.15-r0
dovecot
AlmaLinux:8
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-devel
AlmaLinux:8
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-mysql
AlmaLinux:8
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-pgsql
AlmaLinux:8
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-pigeonhole
AlmaLinux:8
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot
Azure Linux:2
before 2.3.20-1
2.3.20-1
dovecot
TuxCare:CentOS:8.4
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot-devel
TuxCare:CentOS:8.4
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot-mysql
TuxCare:CentOS:8.4
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot-pgsql
TuxCare:CentOS:8.4
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot-pigeonhole
TuxCare:CentOS:8.4
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot
TuxCare:CentOS:8.5
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot-devel
TuxCare:CentOS:8.5
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot-mysql
TuxCare:CentOS:8.5
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot-pgsql
TuxCare:CentOS:8.5
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot-pigeonhole
TuxCare:CentOS:8.5
before 1:2.3.8-9.el8.tuxcare.els1
1:2.3.8-9.el8.tuxcare.els1
dovecot
Debian:12
before 1:2.3.13+dfsg1-2
1:2.3.13+dfsg1-2
dovecot
Debian:13
before 1:2.3.13+dfsg1-2
1:2.3.13+dfsg1-2
dovecot
Debian:14
before 1:2.3.13+dfsg1-2
1:2.3.13+dfsg1-2
dovecot
Debian:10
From an advisory covering 2 CVEs
before 1:2.3.4.1-5+deb10u7, plus listed versions
1:2.3.4.1-51:2.3.4.1-5+deb10u11:2.3.4.1-5+deb10u1~bpo9+11:2.3.4.1-5+deb10u21:2.3.4.1-5+deb10u31:2.3.4.1-5+deb10u41:2.3.4.1-5+deb10u51:2.3.4.1-5+deb10u6
1:2.3.4.1-5+deb10u7
dovecot
Mageia:8
From an advisory covering 3 CVEs
before 2.3.17.1-1.1.mga8
2.3.17.1-1.1.mga8
dovecot
openEuler:20.03-LTS-SP1
From an advisory covering 2 CVEs
before 2.3.15-1.oe1
2.3.15-1.oe1
dovecot
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-debuginfo
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-debugsource
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-mysql
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-mysql-debuginfo
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-pgsql
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-pgsql-debuginfo
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-pigeonhole
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-pigeonhole-debuginfo
Red Hat:enterprise_linux:8::appstream
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot
Red Hat:enterprise_linux:8::crb
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-debuginfo
Red Hat:enterprise_linux:8::crb
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-debugsource
Red Hat:enterprise_linux:8::crb
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-devel
Red Hat:enterprise_linux:8::crb
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-mysql-debuginfo
Red Hat:enterprise_linux:8::crb
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-pgsql-debuginfo
Red Hat:enterprise_linux:8::crb
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot-pigeonhole-debuginfo
Red Hat:enterprise_linux:8::crb
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot
Rocky Linux:8
before 1:2.3.16-2.el8
1:2.3.16-2.el8
dovecot23
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
From an advisory covering 2 CVEs
before 2.3.11.3-4.35.1
2.3.11.3-4.35.1
dovecot23
SUSE:Linux Enterprise High Performance Computing 15-LTSS
From an advisory covering 2 CVEs
before 2.3.11.3-4.35.1
2.3.11.3-4.35.1
dovecot23
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 2 CVEs
before 2.3.11.3-4.35.1
2.3.11.3-4.35.1
dovecot23
SUSE:Linux Enterprise Server for SAP Applications 15
From an advisory covering 2 CVEs
before 2.3.11.3-4.35.1
2.3.11.3-4.35.1
dovecot23
SUSE:Linux Enterprise Module for Server Applications 15 SP2
From an advisory covering 2 CVEs
before 2.3.11.3-55.1
2.3.11.3-55.1
dovecot23
SUSE:Linux Enterprise Module for Server Applications 15 SP3
From an advisory covering 2 CVEs
before 2.3.11.3-55.1
2.3.11.3-55.1
dovecot23
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot23
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot23
SUSE:Linux Enterprise Server 15 SP1-BCL
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot23
SUSE:Linux Enterprise Server 15 SP1-LTSS
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot23
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot23
SUSE:Manager Proxy 4.0
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot23
SUSE:Manager Retail Branch Server 4.0
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot23
SUSE:Manager Server 4.0
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot23
SUSE:Enterprise Storage 6
From an advisory covering 2 CVEs
before 2.3.11.3-24.1
2.3.11.3-24.1
dovecot
Ubuntu:20.04:LTS
before 1:2.3.7.2-1ubuntu3.4, plus listed versions
1:2.3.4.1-5ubuntu31:2.3.7.2-1ubuntu11:2.3.7.2-1ubuntu21:2.3.7.2-1ubuntu31:2.3.7.2-1ubuntu3.11:2.3.7.2-1ubuntu3.21:2.3.7.2-1ubuntu3.3
1:2.3.7.2-1ubuntu3.4
dovecot23
openSUSE:Leap 15.2
From an advisory covering 2 CVEs
before 2.3.11.3-lp152.2.9.1
2.3.11.3-lp152.2.9.1
dovecot23
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 2.3.11.3-55.1
2.3.11.3-55.1
dovecot23
openSUSE:Tumbleweed
From an advisory covering 22 CVEs
before 2.3.16-1.6
2.3.16-1.6
dovecot24
openSUSE:Tumbleweed
From an advisory covering 24 CVEs
before 2.4.0-1.1
2.4.0-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-33515 is a medium vulnerability (CVSS 4.8) in Dovecot, published June 21, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.85%, the 86th percentile. Fixed in dovecot 2.3.15-r0.

References

Show 65 moreShow less
MoveEnter Open