Arch Linux alert ASA-202001-6 (opensmtpd)
| From: | Levente Polyak <anthraxx@archlinux.org> | |
| To: | arch-security@archlinux.org | |
| Subject: | [ASA-202001-6] opensmtpd: arbitrary command execution | |
| Date: | Fri, 31 Jan 2020 20:00:37 +0100 | |
| Message-ID: | <b28c7e05-93d1-12d4-2711-631dc31ad3cf@archlinux.org> |
Arch Linux Security Advisory ASA-202001-6 ========================================= Severity: Critical Date : 2020-01-29 CVE-ID : CVE-2020-7247 Package : opensmtpd Type : arbitrary command execution Remote : Yes Link : https://security.archlinux.org/AVG-1090 Summary ======= The package opensmtpd before version 6.6.2p1-1 is vulnerable to arbitrary command execution. Resolution ========== Upgrade to 6.6.2p1-1. # pacman -Syu "opensmtpd>=6.6.2p1-1" The problem has been fixed upstream in version 6.6.2p1. Workaround ========== None. Description =========== smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the "uncommented" default configuration. The issue exists because of an incorrect return value upon failure of input validation. Impact ====== A remote attacker is able to execute arbitrary commands as root on the affected host. References ========== https://www.openwall.com/lists/oss-security/2020/01/28/3 https://github.com/OpenSMTPD/OpenSMTPD/commit/d2688c097e0... https://github.com/openbsd/src/commit/9dcfda045474d890322... https://security.archlinux.org/CVE-2020-7247
