NULL pointer dereference in Dovecot - CVE-2020-10957

 

NULL pointer dereference in Dovecot - CVE-2020-10957

Published: May 18, 2020


Vulnerability identifier: #VU27981
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-10957
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when processing NOOP command. A remote attacker can send a specially crafted NOOP command to submission, submission-login or lmtp service, trigger a NULL pointer dereference and perform a denial of service attack.

PoC command:

``NOOP EE"FY``

Affected software

Dovecot
Arch Linux
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux Server - TUS
Opensuse
openEuler
Fedora
dovecot (Debian package)
dovecot (Ubuntu package)
dovecot (Alpine package)
dovecot (Red Hat package)
dovecot
dovecot-debuginfo
dovecot-debugsource
dovecot-devel
dovecot-help

How to mitigate CVE-2020-10957

Install updates from vendor's website.

Dovecot - update to 2.3.10.1
dovecot (Debian package) - update to 1:2.3.4.1-5+deb10u2
dovecot (Ubuntu package) - addressed in versions 1:2.3.4.1-5ubuntu3.1, 1:2.3.7.2-1ubuntu3.1
dovecot (Alpine package) - update to 2.3.10.1-r0
dovecot (Red Hat package) - update to 2.3.8-2.el8_2.1
dovecot - update to 2.3.10.1-1
dovecot-debuginfo - update to 2.3.10.1-1
dovecot-debugsource - update to 2.3.10.1-1
dovecot-devel - update to 2.3.10.1-1
dovecot-help - update to 2.3.10.1-1
dovecot - addressed in versions 2.3.10.1-1.fc30, 2.3.10.1-1.fc31, 2.3.10.1-1.fc32

External References

Related Security Bulletins