Out-of-bounds read in OpenSMTPD - CVE-2020-8794

 

Out-of-bounds read in OpenSMTPD - CVE-2020-8794

Published: February 26, 2020 / Updated: June 17, 2021


Vulnerability identifier: #VU25625
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Green
CVE-ID: CVE-2020-8794
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: OpenBSD
Affected software:
OpenSMTPD

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in mta_io() function in mta_session.c for multi-line replies during mail delivery. A remote attacker can use a mail server to send specially crafted replies, trigger out-of-bounds read error and read contents of memory on the system.


How to mitigate CVE-2020-8794

Install updates from vendor's website.

Sources