CVE-2020-7247
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.
How to fix
Apply updates per vendor instructions.
CISA due date: Apr 15, 2022Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openbsd opensmtpd | 6.6 | — |
| debian debian_linux | 9.0, 10.0 | — |
| fedoraproject fedora | 32 | — |
| canonical ubuntu_linux | 18.04, 19.10 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.