USN-4993-1
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) Update Instructions: Run `sudo pro fix USN-4993-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: dovecot-auth-lua - 1:2.3.7.2-1ubuntu3.4 dovecot-pgsql - 1:2.3.7.2-1ubuntu3.4 dovecot-mysql - 1:2.3.7.2-1ubuntu3.4 dovecot-core - 1:2.3.7.2-1ubuntu3.4 dovecot-sieve - 1:2.3.7.2-1ubuntu3.4 dovecot-ldap - 1:2.3.7.2-1ubuntu3.4 dovecot-sqlite - 1:2.3.7.2-1ubuntu3.4 dovecot-dev - 1:2.3.7.2-1ubuntu3.4 dovecot-pop3d - 1:2.3.7.2-1ubuntu3.4 dovecot-imapd - 1:2.3.7.2-1ubuntu3.4 dovecot-managesieved - 1:2.3.7.2-1ubuntu3.4 dovecot-lucene - 1:2.3.7.2-1ubuntu3.4 mail-stack-delivery - 1:2.3.7.2-1ubuntu3.4 dovecot-gssapi - 1:2.3.7.2-1ubuntu3.4 dovecot-lmtpd - 1:2.3.7.2-1ubuntu3.4 dovecot-submissiond - 1:2.3.7.2-1ubuntu3.4 dovecot-solr - 1:2.3.7.2-1ubuntu3.4 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC
Upstream Advisory
Affected Packages
dovecot-auth-lua 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-pgsql 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-mysql 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-core 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-sieve 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-ldap 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-sqlite 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-dev 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-pop3d 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-imapd 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-managesieved 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-lucene 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
mail-stack-delivery 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-gssapi 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-lmtpd 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-submissiond 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4
dovecot-solr 1:2.3.7.2-1ubuntu3.4-1:2.3.7.2-1ubuntu3.4