USN-4993-1

Source
https://ubuntu.com/security/notices/USN-4993-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4993-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4993-1
Upstream
  • UBUNTU-CVE-2021-29157
Related
Published
2021-06-21T13:50:48.031084Z
Modified
2025-07-16T08:33:33.024874Z
Summary
dovecot vulnerabilities
Details

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)

References

Affected packages

Ubuntu:20.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot@1:2.3.7.2-1ubuntu3.4?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.7.2-1ubuntu3.4

Affected versions

1:2.*

1:2.3.4.1-5ubuntu3
1:2.3.7.2-1ubuntu1
1:2.3.7.2-1ubuntu2
1:2.3.7.2-1ubuntu3
1:2.3.7.2-1ubuntu3.1
1:2.3.7.2-1ubuntu3.2
1:2.3.7.2-1ubuntu3.3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "dovecot-auth-lua",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-auth-lua-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-core",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-core-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-dev",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-gssapi",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-gssapi-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-imapd",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-imapd-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-ldap",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-ldap-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-lmtpd",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-lmtpd-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-lucene",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-lucene-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-managesieved",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-managesieved-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-mysql",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-mysql-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-pgsql",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-pgsql-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-pop3d",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-pop3d-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-sieve",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-sieve-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-solr",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-solr-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-sqlite",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-sqlite-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-submissiond",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-submissiond-dbgsym",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "mail-stack-delivery",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        }
    ]
}