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.test.osv.dev/v1/vulns/USN-4993-1
Upstream
  • UBUNTU-CVE-2021-29157
Related
Published
2021-06-21T13:50:48.031084Z
Modified
2025-10-13T04:35:32Z
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-core",
            "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-imapd",
            "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-lmtpd",
            "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-managesieved",
            "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-pgsql",
            "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-sieve",
            "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-sqlite",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "dovecot-submissiond",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        },
        {
            "binary_name": "mail-stack-delivery",
            "binary_version": "1:2.3.7.2-1ubuntu3.4"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2021-33515",
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:20.04:LTS"
}