CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run OpenSMTPD, fix it now.
CISA required action: Apply updates per vendor instructions.
US federal civilian agencies must remediate by Apr 15, 2022.
Patch status
Official fix available since
Apply the vendor's update to every affected system. Check the fixed-in versions below where known.
Basis: NVD patch reference
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.
Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.
Affected products
| Product | Vendor | Affected versions | Source |
|---|---|---|---|
| OpenSMTPD | OpenBSD | 6.6 | KEV |
Sources: KEV = CISA Known Exploited Vulnerabilities catalog.
Intelligence timeline
Developments from the last 30 days, newest first.
- CVSS scoredUpdateKEV
CVE-2020-7247 scored CVSS 9.8: OpenBSD OpenSMTPD, OpenSMTPD Remote Code Execution Vulnerability
CISA lists this as exploited in the wild. Unpatched OpenSMTPD systems are exposed to active attacks now.
Basis: NIST National Vulnerability Database
- Patch releasedUpdateKEV
Patch released for CVE-2020-7247: OpenBSD OpenSMTPD, OpenSMTPD Remote Code Execution Vulnerability
An official fix is now available for OpenBSD OpenSMTPD. This vulnerability is being exploited, so apply it promptly.
Basis: NVD patch reference
1 earlier event is available with a subscription. See plans.
Coverage
We have not published a story about this vulnerability yet.
