USN-4993-1

Type: Security
Severity: Medium
Published: 2021-06-21
Ubuntu 20.04 LTS (Focal Fossa)

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

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:45:18.446Z 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

Interested in being alerted when there are new versions of dovecot-auth-lua and the other packages? Set up an alert.
USN-4993-1: Dovecot vulnerabilities | Package Alert