Ubuntu 20.04 LTS : Dovecot vulnerabilities (USN-4993-1)

medium Nessus Plugin ID 150939

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 20.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-4993-1 advisory.

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)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-4993-1

Plugin Details

Severity: Medium

ID: 150939

File Name: ubuntu_USN-4993-1.nasl

Version: 1.8

Type: local

Agent: unix

Published: 6/21/2021

Updated: 8/28/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2021-33515

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2021-29157

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:dovecot-lmtpd, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:dovecot-core, p-cpe:/a:canonical:ubuntu_linux:dovecot-pop3d, p-cpe:/a:canonical:ubuntu_linux:dovecot-sieve, p-cpe:/a:canonical:ubuntu_linux:dovecot-imapd, p-cpe:/a:canonical:ubuntu_linux:dovecot-ldap, p-cpe:/a:canonical:ubuntu_linux:dovecot-pgsql, p-cpe:/a:canonical:ubuntu_linux:dovecot-sqlite, p-cpe:/a:canonical:ubuntu_linux:dovecot-auth-lua, p-cpe:/a:canonical:ubuntu_linux:dovecot-lucene, p-cpe:/a:canonical:ubuntu_linux:dovecot-managesieved, p-cpe:/a:canonical:ubuntu_linux:dovecot-mysql, p-cpe:/a:canonical:ubuntu_linux:mail-stack-delivery, p-cpe:/a:canonical:ubuntu_linux:dovecot-submissiond, p-cpe:/a:canonical:ubuntu_linux:dovecot-solr, p-cpe:/a:canonical:ubuntu_linux:dovecot-dev, p-cpe:/a:canonical:ubuntu_linux:dovecot-gssapi

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 6/21/2021

Vulnerability Publication Date: 6/21/2021

Reference Information

CVE: CVE-2021-29157, CVE-2021-33515

USN: 4993-1